2006-10-17 Don Allingham <don@gramps-project.org>
* src/plugins/Desbrowser.py: fix callback parameter list svn: r7413
This commit is contained in:
		@@ -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.
 | 
			
		||||
 
 | 
			
		||||
@@ -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()
 | 
			
		||||
 | 
			
		||||
#------------------------------------------------------------------------
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user