Remove the use of dbstate for GuiMenuOptions in tools.

svn: r9942
This commit is contained in:
Brian Matherly 2008-01-28 05:17:29 +00:00
parent 79174e7114
commit ced194780a
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2008-01-27 Brian Matherly <brian@gramps-project.org>
* src/PluginUtils/__init__.py:
Remove the use of dbstate for GuiMenuOptions in tools.
2008-01-27 Brian Matherly <brian@gramps-project.org> 2008-01-27 Brian Matherly <brian@gramps-project.org>
* src/PluginUtils/_GuiOptions.py: * src/PluginUtils/_GuiOptions.py:
Fix 0001659: NumberOption fields on report dialogs Fix 0001659: NumberOption fields on report dialogs

View File

@ -60,7 +60,7 @@ class MenuToolOptions(GuiMenuOptions,Tool.ToolOptions):
and the MenuToolOptions class will worry about setting up the GUI. and the MenuToolOptions class will worry about setting up the GUI.
""" """
def __init__(self, name, person_id=None, dbstate=None): def __init__(self, name, person_id=None, dbstate=None):
Tool.ToolOptions.__init__(self,name, person_id) Tool.ToolOptions.__init__(self, name, person_id)
GuiMenuOptions.__init__(self, dbstate) GuiMenuOptions.__init__(self)