Logo Search packages:      
Sourcecode: zope-photo version File versions  Download package

def zope-photo-1.2.4::PhotoFolder::PhotoFolder::manage_editDisplays (   self,
  REQUEST = None 

Edit displays.

Definition at line 231 of file PhotoFolder.py.

00231                                                          :
        """Edit displays."""
        d = self._displays
        for display in displays:
            if d[display.id] != (display.width, display.height):
                d[display.id] = (display.width, display.height)
        self._displays = d
        if REQUEST is not None:
            return self.manage_editDisplaysForm(REQUEST,
                manage_tabs_message='Displays changed.')

    security.declareProtected('Manage properties', 'manage_delDisplays')
    def manage_delDisplays(self, ids, REQUEST=None):

Generated by  Doxygen 1.6.0   Back to index