From 35e2920c1b4bd0355998a42e2697a6f530fafd6b Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Tue, 3 Feb 2004 03:45:12 +0000 Subject: [PATCH] * src/VersionControl.py: Call win.run to prevent exit from killing the window before the data is saved. svn: r2754 --- gramps2/src/VersionControl.py | 1 + gramps2/src/WriteXML.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gramps2/src/VersionControl.py b/gramps2/src/VersionControl.py index 46af26878..63ab392a0 100644 --- a/gramps2/src/VersionControl.py +++ b/gramps2/src/VersionControl.py @@ -85,6 +85,7 @@ class RevisionComment: Utils.set_titles(self.win,self.top.get_widget('title'),_('Revision control comment')) self.text = self.top.get_widget("text") self.win.show() + self.win.run() def on_savecomment_clicked(self,obj): comment = unicode(self.text.get_text()) diff --git a/gramps2/src/WriteXML.py b/gramps2/src/WriteXML.py index 0105aa5bb..b99f373bf 100644 --- a/gramps2/src/WriteXML.py +++ b/gramps2/src/WriteXML.py @@ -77,9 +77,7 @@ def exportData(database, filename, callback): compress = GrampsCfg.uncompress == 0 and _gzip_ok == 1 try: - print "xmlwriter" g = XmlWriter(database,callback,0,compress) - print "done" g.write(filename) except: import DisplayTrace