* src/plugins/TimeLine.py: Fix 0000943: Timeline doesn't show preferred name format
svn: r8266
This commit is contained in:
parent
b4c317321f
commit
9d4152e533
@ -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-02-26 Brian Matherly <brian@gramps-project.org>
|
||||
* src/plugins/WritePkg.py: Fix crash on gpkg export in Windows
|
||||
|
||||
|
@ -208,7 +208,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
|
||||
@ -340,7 +340,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