Update
svn: r3164
This commit is contained in:
parent
cf90f85775
commit
9c8c00e237
@ -128,7 +128,6 @@ class PluginDialog:
|
|||||||
self.db = db
|
self.db = db
|
||||||
self.active = active
|
self.active = active
|
||||||
self.update = None
|
self.update = None
|
||||||
self.noparent = 0
|
|
||||||
self.imap = {}
|
self.imap = {}
|
||||||
self.msg = msg
|
self.msg = msg
|
||||||
|
|
||||||
@ -208,15 +207,9 @@ class PluginDialog:
|
|||||||
|
|
||||||
if self.run_tool:
|
if self.run_tool:
|
||||||
if self.update:
|
if self.update:
|
||||||
if self.noparent:
|
self.run_tool(self.db,self.active,self.update,self.parent)
|
||||||
self.run_tool(self.db,self.active,self.update)
|
|
||||||
else:
|
|
||||||
self.run_tool(self.db,self.active,self.update,self.parent)
|
|
||||||
else:
|
else:
|
||||||
if self.noparent:
|
self.run_tool(self.db,self.active)
|
||||||
self.run_tool(self.db,self.active)
|
|
||||||
else:
|
|
||||||
self.run_tool(self.db,self.active,self.parent)
|
|
||||||
|
|
||||||
def on_node_selected(self,obj):
|
def on_node_selected(self,obj):
|
||||||
"""Updates the informational display on the right hand side of
|
"""Updates the informational display on the right hand side of
|
||||||
@ -304,7 +297,6 @@ class ReportPlugins(PluginDialog):
|
|||||||
PluginDialog.__init__(self,parent,db,active,_reports,_("Report Selection"),
|
PluginDialog.__init__(self,parent,db,active,_reports,_("Report Selection"),
|
||||||
_("Select a report from those available on the left."),
|
_("Select a report from those available on the left."),
|
||||||
_("_Generate"), _("Generate selected report"))
|
_("_Generate"), _("Generate selected report"))
|
||||||
self.noparent = 1
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -324,7 +316,6 @@ class ToolPlugins(PluginDialog):
|
|||||||
_("Select a tool from those available on the left."),
|
_("Select a tool from those available on the left."),
|
||||||
_("_Run"), _("Run selected tool"))
|
_("_Run"), _("Run selected tool"))
|
||||||
self.update = update
|
self.update = update
|
||||||
self.noparent = 0
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user