2003-07-28 Tim Waugh <twaugh@redhat.com>

* src/plugins/AncestorChart.py: Printable hook.


svn: r1939
This commit is contained in:
Tim Waugh 2003-07-28 20:32:15 +00:00
parent dfe3c031ec
commit 414e4aa404
2 changed files with 3 additions and 0 deletions

View File

@ -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.

View File

@ -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)