From ced194780aa494e24ed8c5d467cf32e8cf00a381 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Mon, 28 Jan 2008 05:17:29 +0000 Subject: [PATCH] Remove the use of dbstate for GuiMenuOptions in tools. svn: r9942 --- ChangeLog | 4 ++++ src/PluginUtils/__init__.py | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2cddd928b..92fc93bdd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-27 Brian Matherly + * src/PluginUtils/__init__.py: + Remove the use of dbstate for GuiMenuOptions in tools. + 2008-01-27 Brian Matherly * src/PluginUtils/_GuiOptions.py: Fix 0001659: NumberOption fields on report dialogs diff --git a/src/PluginUtils/__init__.py b/src/PluginUtils/__init__.py index cb4ac5828..55d86f902 100644 --- a/src/PluginUtils/__init__.py +++ b/src/PluginUtils/__init__.py @@ -60,7 +60,7 @@ class MenuToolOptions(GuiMenuOptions,Tool.ToolOptions): and the MenuToolOptions class will worry about setting up the GUI. """ def __init__(self, name, person_id=None, dbstate=None): - Tool.ToolOptions.__init__(self,name, person_id) - GuiMenuOptions.__init__(self, dbstate) + Tool.ToolOptions.__init__(self, name, person_id) + GuiMenuOptions.__init__(self)