From 6c0f00de893f04fdd58bee6bbff30eb6bcb3d305 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 --- ChangeLog | 1 + src/plugins/CountAncestors.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 803616538..247769cfd 100644 --- a/ChangeLog +++ b/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/src/plugins/CountAncestors.py b/src/plugins/CountAncestors.py index d575ef716..6540ecbf3 100644 --- a/src/plugins/CountAncestors.py +++ b/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)