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