* src/plugins/GraphViz.py: Fix 0000942: Relationship graph doesn't show preferred name format
svn: r8269
This commit is contained in:
parent
99b5a11b20
commit
4d4b9441d0
@ -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>
|
2007-03-05 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/plugins/TimeLine.py: Fix 0000943: Timeline doesn't show preferred
|
* src/plugins/TimeLine.py: Fix 0000943: Timeline doesn't show preferred
|
||||||
name format
|
name format
|
||||||
|
@ -61,6 +61,7 @@ from ReportBase._CommandLineReport import CommandLineReport
|
|||||||
from Filters import GenericFilter, Rules
|
from Filters import GenericFilter, Rules
|
||||||
import RelLib
|
import RelLib
|
||||||
import DateHandler
|
import DateHandler
|
||||||
|
import NameDisplay
|
||||||
import const
|
import const
|
||||||
from BaseDoc import PAPER_LANDSCAPE
|
from BaseDoc import PAPER_LANDSCAPE
|
||||||
from QuestionDialog import ErrorDialog
|
from QuestionDialog import ErrorDialog
|
||||||
@ -509,7 +510,7 @@ just use iconv:
|
|||||||
|
|
||||||
def get_person_label(self, person):
|
def get_person_label(self, person):
|
||||||
"return person label string"
|
"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()
|
p_id = person.get_gramps_id()
|
||||||
if self.includeid:
|
if self.includeid:
|
||||||
label = label + " (%s)" % p_id
|
label = label + " (%s)" % p_id
|
||||||
|
Loading…
Reference in New Issue
Block a user