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