From 2838468f952c144f73e2117d1e29733ea9ddf93d Mon Sep 17 00:00:00 2001 From: "Craig J. Anderson" Date: Wed, 6 Apr 2011 20:07:52 +0000 Subject: [PATCH] updates for: http://www.gramps-project.org/bugs/view.php?id=4767#c18699 svn: r17068 --- src/plugins/drawreport/AncestorTree.py | 4 ++-- src/plugins/drawreport/DescendTree.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/drawreport/AncestorTree.py b/src/plugins/drawreport/AncestorTree.py index 19581b14c..231325dfc 100644 --- a/src/plugins/drawreport/AncestorTree.py +++ b/src/plugins/drawreport/AncestorTree.py @@ -717,7 +717,7 @@ class AncestorTree(Report): self.canvas.add_title(title) #make the report as big as it wants to be. - compress = self.connect.get_val('compress') + compress = self.connect.get_val('compress_tree') report = MakeReport(database, self.doc, self.canvas, font_normal, inlc_marr, compress) report.start() @@ -880,7 +880,7 @@ class AncestorTreeOptions(MenuReportOptions): compress = BooleanOption(_('Co_mpress tree'), True) compress.set_help(_("Whether to remove any extra blank spaces set " "aside for people that are unknown")) - menu.add_option(category_name, "compress", compress) + menu.add_option(category_name, "compress_tree", compress) #better to 'Show siblings of\nthe center person #Spouse_disp = EnumeratedListOption(_("Show spouses of\nthe center " diff --git a/src/plugins/drawreport/DescendTree.py b/src/plugins/drawreport/DescendTree.py index 0dfcaa77e..a8f9d77f9 100644 --- a/src/plugins/drawreport/DescendTree.py +++ b/src/plugins/drawreport/DescendTree.py @@ -1236,7 +1236,7 @@ class GuiConnect(): return CalcLines(database, display_repl) def working_lines(self, box): - display = self.get_val("dsecend_disp") + display = self.get_val("descend_disp") #if self.get_val('diffspouse'): display_spou = self.get_val("spouse_disp") #else: @@ -1497,7 +1497,7 @@ class DescendTreeOptions(MenuReportOptions): disp = TextOption(_("Descendant\nDisplay Format"), ["$n","%s $b" % _BORN,"%s $d" %_DIED]) disp.set_help(_("Display format for a descendant.")) - menu.add_option(category_name, "dsecend_disp", disp) + menu.add_option(category_name, "descend_disp", disp) bold = BooleanOption(_('Bold direct descendants'), True) bold.set_help(