diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 70aad17e1..393fe9253 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2007-03-05 Brian Matherly + * src/plugins/TimeLine.py: Fix 0000943: Timeline doesn't show preferred + name format + 2007-02-26 Brian Matherly * src/plugins/WritePkg.py: Fix crash on gpkg export in Windows diff --git a/gramps2/src/plugins/TimeLine.py b/gramps2/src/plugins/TimeLine.py index b71e25b10..3cbaf1279 100644 --- a/gramps2/src/plugins/TimeLine.py +++ b/gramps2/src/plugins/TimeLine.py @@ -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)