* src/Editors/_EditEvent.py (_connect_signals): Properly define
ok_button. svn: r8673
This commit is contained in:
parent
1e8a8be782
commit
9e5571cd57
@ -1,4 +1,6 @@
|
||||
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/GrampsDb/_GrampsInMemDB.py: Rename overridden methods.
|
||||
* src/GrampsDb/_GrampsDbBase.py: Rename overridden methods.
|
||||
|
@ -106,9 +106,9 @@ class EditEvent(EditPrimary):
|
||||
self.top.get_widget('button111').connect('clicked',self.close)
|
||||
self.top.get_widget('button126').connect('clicked',self.help_clicked)
|
||||
|
||||
ok = self.top.get_widget('ok')
|
||||
ok.set_sensitive(not self.db.readonly)
|
||||
ok.connect('clicked',self.save)
|
||||
self.ok_button = self.top.get_widget('ok')
|
||||
self.ok_button.set_sensitive(not self.db.readonly)
|
||||
self.ok_button.connect('clicked',self.save)
|
||||
|
||||
def _setup_fields(self):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user