2006-06-24 Alex Roitman <shura@gramps-project.org>
* src/ReportBase/_ReportDialog.py (report): Handle wm closing. * src/plugins/GraphViz.py (GraphVizDialog.__init__): Handle wm closing. * src/plugins/NarrativeWeb.py (WebReportDialog.__init__): Handle wm closing. svn: r6964
This commit is contained in:
parent
ae8a270c53
commit
a734940c05
@ -1,3 +1,10 @@
|
|||||||
|
2006-06-24 Alex Roitman <shura@gramps-project.org>
|
||||||
|
* src/ReportBase/_ReportDialog.py (report): Handle wm closing.
|
||||||
|
* src/plugins/GraphViz.py (GraphVizDialog.__init__): Handle wm
|
||||||
|
closing.
|
||||||
|
* src/plugins/NarrativeWeb.py (WebReportDialog.__init__): Handle
|
||||||
|
wm closing.
|
||||||
|
|
||||||
2006-06-25 Brian Matherly <brian@gramps-project.org>
|
2006-06-25 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/plugins/AncestorChart2.py: fix comment
|
* src/plugins/AncestorChart2.py: fix comment
|
||||||
* src/plugins/DecendChart.py: fix comment
|
* src/plugins/DecendChart.py: fix comment
|
||||||
|
@ -654,4 +654,6 @@ def report(dbstate,uistate,person,report_class,options_class,
|
|||||||
ErrorDialog(_("Report could not be created"),str(msg))
|
ErrorDialog(_("Report could not be created"),str(msg))
|
||||||
except:
|
except:
|
||||||
log.error("Failed to run report.", exc_info=True)
|
log.error("Failed to run report.", exc_info=True)
|
||||||
|
elif response == gtk.RESPONSE_DELETE_EVENT:
|
||||||
|
return
|
||||||
dialog.close()
|
dialog.close()
|
||||||
|
@ -943,6 +943,8 @@ class GraphVizDialog(ReportDialog):
|
|||||||
self.make_report()
|
self.make_report()
|
||||||
except (IOError,OSError),msg:
|
except (IOError,OSError),msg:
|
||||||
ErrorDialog(str(msg))
|
ErrorDialog(str(msg))
|
||||||
|
elif response == gtk.RESPONSE_DELETE_EVENT:
|
||||||
|
return
|
||||||
self.close()
|
self.close()
|
||||||
|
|
||||||
def make_doc_menu(self,active=None):
|
def make_doc_menu(self,active=None):
|
||||||
|
@ -2605,6 +2605,8 @@ class WebReportDialog(ReportDialog):
|
|||||||
response = self.window.run()
|
response = self.window.run()
|
||||||
if response == gtk.RESPONSE_OK:
|
if response == gtk.RESPONSE_OK:
|
||||||
self.make_report()
|
self.make_report()
|
||||||
|
elif response == gtk.RESPONSE_DELETE_EVENT:
|
||||||
|
return
|
||||||
self.close()
|
self.close()
|
||||||
|
|
||||||
def setup_style_frame(self):
|
def setup_style_frame(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user