From da2668c07a60646cf61e385ce81219e4e8b594b3 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Mon, 24 Jan 2005 16:40:36 +0000 Subject: [PATCH] Update svn: r3949 --- gramps2/src/plugins/DesGraph.py | 2 +- gramps2/src/plugins/FtmStyleDescendants.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gramps2/src/plugins/DesGraph.py b/gramps2/src/plugins/DesGraph.py index d32f246f4..71e7726dd 100644 --- a/gramps2/src/plugins/DesGraph.py +++ b/gramps2/src/plugins/DesGraph.py @@ -109,10 +109,10 @@ class DescendantGraph(Report.Report): self.box_width = max(self.box_width,new_width) self.lines = max(self.lines,len(self.text[p_id])) + self.calc() def write_report(self): - self.calc() maxx,maxy = self.layout.max_size() maxx = int(maxx) diff --git a/gramps2/src/plugins/FtmStyleDescendants.py b/gramps2/src/plugins/FtmStyleDescendants.py index 8b80855fe..8a7589add 100644 --- a/gramps2/src/plugins/FtmStyleDescendants.py +++ b/gramps2/src/plugins/FtmStyleDescendants.py @@ -40,7 +40,7 @@ from gettext import gettext as _ import Report import BaseDoc import RelLib -import Utils +import ReportUtils import ReportOptions from DateHandler import displayer as dd import const @@ -705,7 +705,7 @@ class FtmDescendantReport(Report.Report): self.doc.start_cell('FTD-Normal') self.doc.start_paragraph('FTD-Child-Num') - self.doc.write_text("%s." % Utils.roman(child_index).lower()) + self.doc.write_text("%s." % ReportUtils.roman(child_index).lower()) self.doc.end_paragraph() self.doc.end_cell()