* src/plugins/EventCmp.py: (#886) properly handle CANCEL on save dialog
svn: r8017
This commit is contained in:
parent
6fedb61f2f
commit
873e7bd697
@ -1,4 +1,5 @@
|
||||
2007-01-30 Don Allingham <don@gramps-project.org>
|
||||
* src/plugins/EventCmp.py: (#886) properly handle CANCEL on save dialog
|
||||
* src/ReportBase/_ReportDialog.py: error reporting
|
||||
* src/plugins/NarrativeWeb.py: error reporting
|
||||
|
||||
|
@ -414,11 +414,11 @@ class DisplayChart(ManagedWindow.ManagedWindow):
|
||||
|
||||
f.set_current_folder(os.getcwd())
|
||||
status = f.run()
|
||||
name = unicode(f.get_filename(),
|
||||
sys.getfilesystemencoding())
|
||||
f.destroy()
|
||||
f.hide()
|
||||
|
||||
if status == gtk.RESPONSE_OK:
|
||||
name = unicode(f.get_filename(),
|
||||
sys.getfilesystemencoding())
|
||||
pstyle = BaseDoc.PaperStyle("junk",10,10)
|
||||
doc = ODSDoc.ODSDoc(pstyle,BaseDoc.PAPER_PORTRAIT)
|
||||
doc.creator(self.db.get_researcher().get_name())
|
||||
@ -444,6 +444,7 @@ class DisplayChart(ManagedWindow.ManagedWindow):
|
||||
spreadsheet.write_table_data(top,skip_columns)
|
||||
|
||||
spreadsheet.finalize()
|
||||
f.destroy()
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user