From 22d8f9bed1ef94e8e16658111f13b8cd6d11c564 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Thu, 24 Nov 2005 05:41:11 +0000 Subject: [PATCH] Update svn: r5432 --- gramps2/src/plugins/Checkpoint.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gramps2/src/plugins/Checkpoint.py b/gramps2/src/plugins/Checkpoint.py index faae2a208..c789b900f 100644 --- a/gramps2/src/plugins/Checkpoint.py +++ b/gramps2/src/plugins/Checkpoint.py @@ -119,8 +119,10 @@ class Checkpoint(Tool.Tool): Tool.Tool.__init__(self,db,person,options_class,name) if parent: + self.callback = self.callback_real self.init_gui(parent) else: + self.callback = lambda a: None self.run_tool(cli=True) def init_gui(self,parent): @@ -380,7 +382,7 @@ class Checkpoint(Tool.Tool): else: dialog(msg1,msg2) - def callback(self,value): + def callback_real(self,value): """ Call back function for the WriteXML function that updates the status progress bar.