* src/Plugins.py: Use category to register cl report.

* src/Report.py: Handle showing options centrally.
* src/gramps_main.py: Remove name and category from options.
* src/plugins/BookReport.py: Handle showing options centrally.


svn: r3828
This commit is contained in:
Alex Roitman
2004-12-22 04:55:12 +00:00
parent a4f9849e8f
commit 09a8a4640b
5 changed files with 35 additions and 25 deletions

View File

@@ -1691,10 +1691,10 @@ class Gramps:
def on_preferences_activate(self,obj):
GrampsCfg.display_preferences_box(self.db)
def menu_report(self,obj,task,report_class,options_class,category,name):
def menu_report(self,obj,task,report_class,options_class,translated_name,name,category):
"""Call the report plugin selected from the menus"""
if self.active_person:
task(self.db,self.active_person,report_class,options_class,category,name)
task(self.db,self.active_person,report_class,options_class,translated_name,name,category)
def menu_tools(self,obj,task):
"""Call the tool plugin selected from the menus"""