* src/Editors/_EditEvent.py (_connect_signals): Properly define

ok_button.


svn: r8673
This commit is contained in:
Alex Roitman 2007-06-26 06:29:48 +00:00
parent 1e8a8be782
commit 9e5571cd57
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,6 @@
2007-06-25 Alex Roitman <shura@gramps-project.org> 2007-06-25 Alex Roitman <shura@gramps-project.org>
* src/Editors/_EditEvent.py (_connect_signals): Properly define
ok_button.
* src/plugins/RemoveUnused.py (init_gui): Add missing argument. * src/plugins/RemoveUnused.py (init_gui): Add missing argument.
* src/GrampsDb/_GrampsInMemDB.py: Rename overridden methods. * src/GrampsDb/_GrampsInMemDB.py: Rename overridden methods.
* src/GrampsDb/_GrampsDbBase.py: Rename overridden methods. * src/GrampsDb/_GrampsDbBase.py: Rename overridden methods.

View File

@ -106,9 +106,9 @@ class EditEvent(EditPrimary):
self.top.get_widget('button111').connect('clicked',self.close) self.top.get_widget('button111').connect('clicked',self.close)
self.top.get_widget('button126').connect('clicked',self.help_clicked) self.top.get_widget('button126').connect('clicked',self.help_clicked)
ok = self.top.get_widget('ok') self.ok_button = self.top.get_widget('ok')
ok.set_sensitive(not self.db.readonly) self.ok_button.set_sensitive(not self.db.readonly)
ok.connect('clicked',self.save) self.ok_button.connect('clicked',self.save)
def _setup_fields(self): def _setup_fields(self):