* src/plugins/TimeLine.py: Fix 0000943: Timeline doesn't show preferred name format
svn: r8267
This commit is contained in:
parent
7787981804
commit
99b5a11b20
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user