* src/plugins/GraphViz.py: Fix 0000942: Relationship graph doesn't show preferred name format

svn: r8268
This commit is contained in:
Brian Matherly 2007-03-06 02:23:28 +00:00
parent 9d4152e533
commit 5c5b032ce8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-03-05 Brian Matherly <brian@gramps-project.org>
* src/plugins/GraphViz.py: Fix 0000942: Relationship graph doesn't show
preferred name format
2007-03-05 Brian Matherly <brian@gramps-project.org>
* src/plugins/TimeLine.py: Fix 0000943: Timeline doesn't show preferred
name format

View File

@ -61,6 +61,7 @@ from ReportBase._CommandLineReport import CommandLineReport
from Filters import GenericFilter, Rules
import RelLib
import DateHandler
import NameDisplay
import const
from BaseDoc import PAPER_LANDSCAPE
from QuestionDialog import ErrorDialog
@ -509,7 +510,7 @@ just use iconv:
def get_person_label(self, person):
"return person label string"
label = person.get_primary_name().get_name()
label = NameDisplay.displayer.display_name(person.get_primary_name())
p_id = person.get_gramps_id()
if self.includeid:
label = label + " (%s)" % p_id