2006-10-17 Don Allingham <don@gramps-project.org>

* src/plugins/Desbrowser.py: fix callback parameter list



svn: r7413
This commit is contained in:
Don Allingham 2006-10-18 02:52:55 +00:00
parent 398fc2e59b
commit b10f6acae4
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,6 @@
2006-10-17 Don Allingham <don@gramps-project.org>
* src/plugins/Desbrowser.py: fix callback parameter list
2006-10-16 Alex Roitman <shura@gramps-project.org>
* src/Editors/_EditPerson.py (_given_focus_out_event): Convert to
unicode before guessing gender.

View File

@ -60,7 +60,7 @@ class DesBrowse(Tool.ActivePersonTool, ManagedWindow.ManagedWindow):
Tool.ActivePersonTool.__init__(self, dbstate, options_class, name)
if self.fail:
return
self.dbstate = dbstate
self.active = dbstate.get_active_person()
self.callback = callback
@ -129,8 +129,8 @@ class DesBrowse(Tool.ActivePersonTool, ManagedWindow.ManagedWindow):
EditPerson(self.dbstate, self.uistate, self.track, person,
self.this_callback)
def this_callback(self, epo, val):
self.callback(epo, val)
def this_callback(self, obj):
self.callback()
self.make_new_model()
#------------------------------------------------------------------------