* 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:
@@ -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"""
|
||||
|
||||
Reference in New Issue
Block a user