* src/Plugins.py: Pass parent class to the tools.

* src/rule.glade: Define event handlers.
* src/gramps_main.py: Pass parent class to the tools.
* src/plugins/EventCmp.py: Window management.
* src/plugins/FilterEditor.py: Window management.
* src/plugins/PatchNames.py: Window management.
* src/plugins/eventcmp.glade: Define event handlers.
* src/plugins/patchnames.glade: Define event handlers.


svn: r3150
This commit is contained in:
Alex Roitman
2004-05-10 04:54:10 +00:00
parent 9d1890dc84
commit 8d4c034b86
9 changed files with 340 additions and 69 deletions

View File

@@ -1735,7 +1735,7 @@ class Gramps:
def menu_tools(self,obj,task):
"""Call the tool plugin selected from the menus"""
if self.active_person:
task(self.db,self.active_person,self.tool_callback)
task(self.db,self.active_person,self.tool_callback,self)
def on_main_key_release_event(self,obj,event):
"""Respond to the insert and delete buttons in the person list"""