diff --git a/ChangeLog b/ChangeLog index 870683faf..180328ebd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-01-08 Brian Matherly + * src/ReportBase/_GraphvizReportDialog.py: + Fix 0001515: GraphViz reports don't register page margins on + report_options.xml + 2008-01-08 Brian Matherly * src/plugins/AncestorChart.py: * src/plugins/DescendChart.py: diff --git a/src/ReportBase/_GraphvizReportDialog.py b/src/ReportBase/_GraphvizReportDialog.py index 2857c2a6e..15065e989 100644 --- a/src/ReportBase/_GraphvizReportDialog.py +++ b/src/ReportBase/_GraphvizReportDialog.py @@ -886,7 +886,9 @@ class GraphvizReportDialog(ReportDialog): self.paper_label.set_use_markup(True) self.paper_frame = PaperFrame(self.options.handler.get_paper_name(), - self.options.handler.get_orientation()) + self.options.handler.get_orientation(), + self.options.handler.get_margins() + ) self.notebook.insert_page(self.paper_frame,self.paper_label,0) self.paper_frame.show_all() @@ -945,7 +947,8 @@ class GraphvizReportDialog(ReportDialog): self.options.handler.set_paper_name(self.paper_frame.get_paper_name()) self.options.handler.set_orientation(self.paper_frame.get_orientation()) - + self.options.handler.set_margins(self.paper_frame.get_paper_margins()) + # Create the output document. self.make_document()