From 68f56709729597f381433cf303ce8a7d6bb9dcfa Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Mon, 2 Feb 2009 19:38:31 +0000 Subject: [PATCH] Fix in branch for issue 2667. svn: r11808 --- src/plugins/GVRelGraph.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/plugins/GVRelGraph.py b/src/plugins/GVRelGraph.py index ac73ee2c4..87d4b02f3 100644 --- a/src/plugins/GVRelGraph.py +++ b/src/plugins/GVRelGraph.py @@ -187,6 +187,11 @@ class RelGraphReport(Report): style = 'solid' adopted = ((int(frel) != gen.lib.ChildRefType.BIRTH) or (int(mrel) != gen.lib.ChildRefType.BIRTH)) + # If birth relation to father is NONE, mening there is no father and + # if birth relation to mother is BIRTH then solid line + if ((int(frel) == gen.lib.ChildRefType.NONE) and + (int(mrel) == gen.lib.ChildRefType.BIRTH)): + adopted = False if adopted and self.adoptionsdashed: style = 'dotted' self.doc.add_link( p_id, family.get_gramps_id(), style,