From 4d4b9441d0fb062d2367b4bd780c0aa2f96fe78f Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Tue, 6 Mar 2007 02:26:55 +0000 Subject: [PATCH] * src/plugins/GraphViz.py: Fix 0000942: Relationship graph doesn't show preferred name format svn: r8269 --- ChangeLog | 4 ++++ src/plugins/GraphViz.py | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 52dd6e17a..e76796c84 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-03-05 Brian Matherly + * src/plugins/GraphViz.py: Fix 0000942: Relationship graph doesn't show + preferred name format + 2007-03-05 Brian Matherly * src/plugins/TimeLine.py: Fix 0000943: Timeline doesn't show preferred name format diff --git a/src/plugins/GraphViz.py b/src/plugins/GraphViz.py index 370cc108d..4cf45e3a8 100644 --- a/src/plugins/GraphViz.py +++ b/src/plugins/GraphViz.py @@ -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