diff --git a/ChangeLog b/ChangeLog index 08163999f..dca7a6df0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2006-10-17 Don Allingham + * src/plugins/Desbrowser.py: fix callback parameter list + 2006-10-16 Alex Roitman * src/Editors/_EditPerson.py (_given_focus_out_event): Convert to unicode before guessing gender. diff --git a/src/plugins/Desbrowser.py b/src/plugins/Desbrowser.py index 943b90a8d..56fff174d 100644 --- a/src/plugins/Desbrowser.py +++ b/src/plugins/Desbrowser.py @@ -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() #------------------------------------------------------------------------