* src/plugins/TimeLine.py: Fix 0000943: Timeline doesn't show preferred name format

svn: r8267
This commit is contained in:
Brian Matherly 2007-03-06 02:12:03 +00:00
parent 7787981804
commit 99b5a11b20
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2007-03-05 Brian Matherly <brian@gramps-project.org>
* src/plugins/TimeLine.py: Fix 0000943: Timeline doesn't show preferred
name format
2007-03-03 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsGEDDB.py: readonly database for GEDCOM
* src/Editors/_EditNote.py: add additional fields

View File

@ -207,7 +207,7 @@ class TimeLine(Report):
else:
d = None
n = p.get_primary_name().get_name()
n = NameDisplay.displayer.display_formal(p)
self.doc.draw_text('TLG-text',n,incr+pad,self.header + (incr+pad)*index)
y1 = self.header + (pad+incr)*index
@ -339,7 +339,7 @@ class TimeLine(Report):
size = 0
for p_id in self.plist:
p = self.database.get_person_from_handle(p_id)
n = p.get_primary_name().get_name()
n = NameDisplay.displayer.display_formal(p)
size = max(self.doc.string_width(font,n),size)
return pt2cm(size)