Exemplo n.º 1
0
 def close(self, *obj):
     """ Close relcalc tool. Remove non-gtk connections so garbage
         collection can do its magic.
     """
     self.relationship.disconnect_db_signals(self.dbstate)
     self.sel.disconnect(self.changedkey)
     ManagedWindow.close(self, *obj)
Exemplo n.º 2
0
 def close(self, *obj):
     """ Close relcalc tool. Remove non-gtk connections so garbage
         collection can do its magic.
     """
     self.relationship.disconnect_db_signals(self.dbstate)
     self.sel.disconnect(self.changedkey)
     ManagedWindow.close(self, *obj)
Exemplo n.º 3
0
 def close(self, *args):
     """
     Close the editor window.
     """
     (width, height) = self.window.get_size()
     self._config.set('interface.census-width', width)
     self._config.set('interface.census-height', height)
     self._config.save()
     self.details.entry_grid.clean_up()
     self.details.clean_up()
     self.gallery_list.clean_up()
     ManagedWindow.close(self)
Exemplo n.º 4
0
 def close(self, *args):
     """
     Close the editor window.
     """
     (width, height) = self.window.get_size()
     self._config.set('interface.form-width', width)
     self._config.set('interface.form-height', height)
     (width, height) = self.window.get_position()
     self._config.set('interface.form-horiz-position', width)
     self._config.set('interface.form-vert-position', height)
     self._config.save()
     self.gallery_list.clean_up()
     ManagedWindow.close(self)
Exemplo n.º 5
0
 def close(self, *args):
     """
     Close the editor window.
     """
     (width, height) = self.window.get_size()
     self._config.set('interface.form-width', width)
     self._config.set('interface.form-height', height)
     (width, height) = self.window.get_position()
     self._config.set('interface.form-horiz-position', width)
     self._config.set('interface.form-vert-position', height)
     self._config.save()
     self.gallery_list.clean_up()
     ManagedWindow.close(self)
Exemplo n.º 6
0
 def close(self, *obj):
     ManagedWindow.close(self, *obj)
Exemplo n.º 7
0
 def close(self, *obj):
     """
     Close the selection place editor
     """
     self.hide_the_region()
     ManagedWindow.close(self, *obj)
Exemplo n.º 8
0
 def close(self, *obj):
     """
     Close the selection place editor
     """
     self.hide_the_region()
     ManagedWindow.close(self, *obj)
Exemplo n.º 9
0
 def close(self, *obj):
     ManagedWindow.close(self, *obj)