* src/Plugins.py: Do not pass parent to the reports.
svn: r3163
This commit is contained in:
parent
929307150c
commit
6603fe8932
@ -1,5 +1,6 @@
|
|||||||
2004-05-13 Alex Roitman <shura@alex.neuro.umn.edu>
|
2004-05-13 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||||
* src/RelLib.py (probably_alive): Typos.
|
* src/RelLib.py (probably_alive): Typos.
|
||||||
|
* src/Plugins.py: Do not pass parent to the reports.
|
||||||
|
|
||||||
2004-05-12 Alex Roitman <shura@alex.neuro.umn.edu>
|
2004-05-12 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||||
* src/plugins/ChangeTypes.py: Remove Utils.modified() call.
|
* src/plugins/ChangeTypes.py: Remove Utils.modified() call.
|
||||||
|
@ -128,6 +128,7 @@ 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
|
||||||
|
|
||||||
@ -207,9 +208,15 @@ 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)
|
||||||
|
else:
|
||||||
self.run_tool(self.db,self.active,self.update,self.parent)
|
self.run_tool(self.db,self.active,self.update,self.parent)
|
||||||
else:
|
else:
|
||||||
self.run_tool(self.db,self.active,None,self.parent)
|
if self.noparent:
|
||||||
|
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
|
||||||
@ -297,6 +304,7 @@ 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
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -316,6 +324,7 @@ 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