2003-07-28 Tim Waugh <twaugh@redhat.com>
* src/plugins/AncestorChart.py: Printable hook. svn: r1939
This commit is contained in:
parent
dfe3c031ec
commit
414e4aa404
@ -1,4 +1,5 @@
|
||||
2003-07-28 Tim Waugh <twaugh@redhat.com>
|
||||
* src/plugins/AncestorChart.py: Printable hook.
|
||||
* src/plugins/GraphViz.py: Adapt.
|
||||
* src/Report.py, src/TextDoc.py, src/DrawDoc.py, src/Plugins.py: More
|
||||
support for making printable output formats.
|
||||
|
@ -257,6 +257,8 @@ class AncestorChartDialog(Report.DrawReportDialog):
|
||||
MyReport = AncestorChart(self.db, self.person, self.target_path,
|
||||
self.max_gen, self.doc, self.report_text)
|
||||
MyReport.write_report()
|
||||
if self.print_report.get_active ():
|
||||
self.doc.print_report()
|
||||
except Errors.ReportError, msg:
|
||||
(m1,m2) = msg.messages()
|
||||
ErrorDialog(m1,m2)
|
||||
|
Loading…
Reference in New Issue
Block a user