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)