diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 86029b8c8..6dc53a3ce 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2005-07-03 Alex Roitman + * src/plugins/GraphViz.py (dump_person): Correctly test for birth + relations. + 2005-07-03 Eero Tamminen * src/po/fi.po: Updated translated to latest template diff --git a/gramps2/src/plugins/GraphViz.py b/gramps2/src/plugins/GraphViz.py index 346c6c105..3383eaa8a 100644 --- a/gramps2/src/plugins/GraphViz.py +++ b/gramps2/src/plugins/GraphViz.py @@ -48,6 +48,7 @@ import Report import ReportOptions import GenericFilter import const +import RelLib from BaseDoc import PAPER_LANDSCAPE from latin_utf8 import utf8_to_latin from QuestionDialog import ErrorDialog @@ -233,8 +234,8 @@ class GraphViz: family = self.database.get_family_from_handle(family_handle) father_handle = family.get_father_handle() mother_handle = family.get_mother_handle() - fadopted = frel != _("Birth") - madopted = mrel != _("Birth") + fadopted = frel != RelLib.Person.CHILD_REL_BIRTH + madopted = mrel != RelLib.Person.CHILD_REL_BIRTH famid = family.get_gramps_id().replace('-','_') if (self.show_families and (father_handle and person_dict.has_key(father_handle) or