2008-01-18 Douglas S. Blank <dblank@cs.brynmawr.edu>

* src/plugins/DefaultGramplets.py (SurnameCloudGramplet.main): 
	moved cursor to beginning of text
	* src/DataViews/GrampletView.py (Gramplet.append_text): 
	new scroll_to="begin" to go to start of text area



svn: r9884
This commit is contained in:
Doug Blank
2008-01-18 12:22:44 +00:00
parent 67ef4c8352
commit 78b28b583b
3 changed files with 15 additions and 3 deletions

View File

@ -254,7 +254,7 @@ class TopSurnamesGramplet(Gramplet):
break
self.append_text(("\n" + _("Total unique surnames") + ": %d\n") %
total_surnames)
self.append_text((_("Total people") + ": %d") % total_people)
self.append_text((_("Total people") + ": %d") % total_people, "begin")
def make_tag_size(n, counts, mins=8, maxs=20):
# return font sizes mins to maxs
@ -345,7 +345,7 @@ class SurnameCloudGramplet(Gramplet):
break
self.append_text(("\n" + _("Total unique surnames") + ": %d\n") %
total_surnames)
self.append_text((_("Total people") + ": %d") % total_people)
self.append_text((_("Total people") + ": %d") % total_people, "begin")
class StatsGramplet(Gramplet):
def init(self):