2006-10-17 Don Allingham <don@gramps-project.org>
* src/plugins/Desbrowser.py: fix callback parameter list svn: r7413
This commit is contained in:
parent
2b52e24b83
commit
df3e33cbc4
@ -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>
|
2006-10-16 Alex Roitman <shura@gramps-project.org>
|
||||||
* src/Editors/_EditPerson.py (_given_focus_out_event): Convert to
|
* src/Editors/_EditPerson.py (_given_focus_out_event): Convert to
|
||||||
unicode before guessing gender.
|
unicode before guessing gender.
|
||||||
|
@ -60,7 +60,7 @@ class DesBrowse(Tool.ActivePersonTool, ManagedWindow.ManagedWindow):
|
|||||||
Tool.ActivePersonTool.__init__(self, dbstate, options_class, name)
|
Tool.ActivePersonTool.__init__(self, dbstate, options_class, name)
|
||||||
if self.fail:
|
if self.fail:
|
||||||
return
|
return
|
||||||
|
|
||||||
self.dbstate = dbstate
|
self.dbstate = dbstate
|
||||||
self.active = dbstate.get_active_person()
|
self.active = dbstate.get_active_person()
|
||||||
self.callback = callback
|
self.callback = callback
|
||||||
@ -129,8 +129,8 @@ class DesBrowse(Tool.ActivePersonTool, ManagedWindow.ManagedWindow):
|
|||||||
EditPerson(self.dbstate, self.uistate, self.track, person,
|
EditPerson(self.dbstate, self.uistate, self.track, person,
|
||||||
self.this_callback)
|
self.this_callback)
|
||||||
|
|
||||||
def this_callback(self, epo, val):
|
def this_callback(self, obj):
|
||||||
self.callback(epo, val)
|
self.callback()
|
||||||
self.make_new_model()
|
self.make_new_model()
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user