* src/plugins/GraphViz.py (GraphVizDialog.__init__):

Use proper response ID;  (GraphVizGraphics.__init__): set up self.doc;
(EmptyDoc.init): Add empty method.


svn: r3990
This commit is contained in:
Alex Roitman 2005-01-29 22:05:21 +00:00
parent 19dd2dccb0
commit a1b5e0d4a6
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-01-29 Alex Roitman <shura@alex.neuro.umn.edu>
* src/plugins/GraphViz.py (GraphVizDialog.__init__):
Use proper response ID; (GraphVizGraphics.__init__): set up self.doc;
(EmptyDoc.init): Add empty method.
2005-01-29 Eero Tamminen <eerot@sf>
* src/plugins/StatisticsChart.py:
- Added support for Don's Pie charts + color styles for it

View File

@ -761,7 +761,7 @@ class GraphVizDialog(Report.ReportDialog):
name,translated_name)
response = self.window.run()
if response == True:
if response == gtk.RESPONSE_OK:
try:
self.make_report()
except (IOError,OSError),msg:
@ -886,6 +886,9 @@ class EmptyDoc:
def __init__(self,styles,type,template,orientation,source=None):
pass
def init(self):
pass
#------------------------------------------------------------------------
#
#
@ -915,6 +918,7 @@ class GraphVizGraphics(Report.Report):
self.database = database
self.start_person = person
self.options_class = options_class
self.doc = options_class.get_document()
self.user_output = options_class.get_output()
self.junk_output = os.path.expanduser("~/.gramps/junk")