From ec3a29cbd89f18745e8b2ff5e6cf70e110bc8a85 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sun, 14 May 2006 18:07:03 +0000 Subject: [PATCH] * src/plugins/CountAncestors.py: Add window title, remove extra text. svn: r6654 --- gramps2/ChangeLog | 1 + gramps2/src/plugins/CountAncestors.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 803616538..247769cfd 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,5 @@ 2006-05-14 Alex Roitman + * src/plugins/CountAncestors.py: Add window title, remove extra text. * src/Filters/Rules/Person/_HasNoteRegexp.py: Import re module. 2006-05-13 Brian Matherly diff --git a/gramps2/src/plugins/CountAncestors.py b/gramps2/src/plugins/CountAncestors.py index d575ef716..6540ecbf3 100644 --- a/gramps2/src/plugins/CountAncestors.py +++ b/gramps2/src/plugins/CountAncestors.py @@ -70,7 +70,6 @@ class CountAncestors: thisgen.add(person.get_handle()) title = _("Number of ancestors of \"%s\" by generation") % person.get_primary_name().get_name() - text += title + ':\n' thisgensize = 1 gen = 0 while thisgensize > 0: @@ -110,6 +109,7 @@ class CountAncestors: text += _("Total ancestors in generations 2 to %d is %d. (%3.2f%%)\n") % (gen,allgen,percent) top = topDialog.get_widget("summary") + top.set_title(_("Number of ancestors report")) textwindow = topDialog.get_widget("textwindow") topDialog.get_widget("title").set_text(title) textwindow.get_buffer().set_text(text)