* src/plugins/CountAncestors.py: Add window title, remove extra text.
svn: r6654
This commit is contained in:
parent
7addd50d00
commit
6c0f00de89
@ -1,4 +1,5 @@
|
||||
2006-05-14 Alex Roitman <shura@gramps-project.org>
|
||||
* src/plugins/CountAncestors.py: Add window title, remove extra text.
|
||||
* src/Filters/Rules/Person/_HasNoteRegexp.py: Import re module.
|
||||
|
||||
2006-05-13 Brian Matherly <brian@gramps-project.org>
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user