svn: r5432
This commit is contained in:
Alex Roitman 2005-11-24 05:41:11 +00:00
parent 7e0ecb9806
commit 22d8f9bed1

View File

@ -119,8 +119,10 @@ class Checkpoint(Tool.Tool):
Tool.Tool.__init__(self,db,person,options_class,name) Tool.Tool.__init__(self,db,person,options_class,name)
if parent: if parent:
self.callback = self.callback_real
self.init_gui(parent) self.init_gui(parent)
else: else:
self.callback = lambda a: None
self.run_tool(cli=True) self.run_tool(cli=True)
def init_gui(self,parent): def init_gui(self,parent):
@ -380,7 +382,7 @@ class Checkpoint(Tool.Tool):
else: else:
dialog(msg1,msg2) dialog(msg1,msg2)
def callback(self,value): def callback_real(self,value):
""" """
Call back function for the WriteXML function that updates the Call back function for the WriteXML function that updates the
status progress bar. status progress bar.