* src/plugins/FilterEditor.py: fix close arguments

* src/plugins/ChangeNames.py: fix close arguments
	* src/plugins/Merge.py: fix close arguments
	* src/plugins/ChangeTypes.py: fix close arguments
	* src/plugins/PatchNames.py: fix close arguments


svn: r6411
This commit is contained in:
Don Allingham 2006-04-22 04:06:10 +00:00
parent 9a50249f14
commit a0f9a7c5eb
6 changed files with 10 additions and 5 deletions

View File

@ -1,4 +1,9 @@
2006-04-21 Don Allingham <don@gramps-project.org> 2006-04-21 Don Allingham <don@gramps-project.org>
* src/plugins/FilterEditor.py: fix close arguments
* src/plugins/ChangeNames.py: fix close arguments
* src/plugins/Merge.py: fix close arguments
* src/plugins/ChangeTypes.py: fix close arguments
* src/plugins/PatchNames.py: fix close arguments
* src/plugins/Desbrowser.py: check for active person * src/plugins/Desbrowser.py: check for active person
* src/GrampsDb/_ReadXML.py: fix typos * src/GrampsDb/_ReadXML.py: fix typos
* src/PluginUtils/_PluginMgr.py: handle module to description mapping * src/PluginUtils/_PluginMgr.py: handle module to description mapping

View File

@ -166,7 +166,7 @@ class ChangeNames(Tool.Tool, ManagedWindow.ManagedWindow):
self.db.enable_signals() self.db.enable_signals()
self.db.request_rebuild() self.db.request_rebuild()
self.parent.bookmarks.redraw() self.parent.bookmarks.redraw()
self.close(obj) self.close()
self.cb() self.cb()
#------------------------------------------------------------------------ #------------------------------------------------------------------------

View File

@ -156,7 +156,7 @@ class ChangeTypes(Tool.Tool, ManagedWindow.ManagedWindow):
# Save options # Save options
self.options.handler.save_options() self.options.handler.save_options()
self.close(None) self.close()
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# #

View File

@ -556,7 +556,7 @@ class EditFilter:
self.filter.set_logical_op(op) self.filter.set_logical_op(op)
self.filterdb.add(self.filter) self.filterdb.add(self.filter)
self.parent.draw_filters() self.parent.draw_filters()
self.close(obj) self.close()
def on_add_clicked(self,obj): def on_add_clicked(self,obj):
EditRule(self,None,_('Add Rule')) EditRule(self,None,_('Add Rule'))

View File

@ -164,7 +164,7 @@ class Merge(Tool.Tool):
def on_merge_ok_clicked(self,obj): def on_merge_ok_clicked(self,obj):
threshold = self.menu.get_menu().get_active().get_data("v") threshold = self.menu.get_menu().get_active().get_data("v")
self.use_soundex = int(self.soundex_obj.get_active()) self.use_soundex = int(self.soundex_obj.get_active())
self.close(obj) self.close()
self.find_potentials(threshold) self.find_potentials(threshold)
self.options.handler.options_dict['threshold'] = threshold self.options.handler.options_dict['threshold'] = threshold

View File

@ -320,7 +320,7 @@ class PatchNames(Tool.Tool, ManagedWindow.ManagedWindow):
self.db.commit_person(p,self.trans) self.db.commit_person(p,self.trans)
self.db.transaction_commit(self.trans,_("Extract information from names")) self.db.transaction_commit(self.trans,_("Extract information from names"))
self.close(obj) self.close()
self.cb(None,1) self.cb(None,1)
#------------------------------------------------------------------------ #------------------------------------------------------------------------