From a2191b7bbe51bde97df998d8161a033af4803fb4 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Wed, 22 Aug 2012 11:31:00 +0000 Subject: [PATCH] 5756: First names are sometimes displayed incorrectly in Ancestry View svn: r20248 --- src/plugins/view/pedigreeview.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/view/pedigreeview.py b/src/plugins/view/pedigreeview.py index 431aa9b66..f88d749e4 100644 --- a/src/plugins/view/pedigreeview.py +++ b/src/plugins/view/pedigreeview.py @@ -280,6 +280,7 @@ class PersonBoxWidgetCairo(_PersonWidgetBase): #self.context.stroke() # Create box shape and store path + self.context.save() self.context.move_to(0, 5) self.context.curve_to(0, 2, 2, 0, 5, 0) self.context.line_to(alloc.width-8, 0) @@ -325,6 +326,7 @@ class PersonBoxWidgetCairo(_PersonWidgetBase): self.context.paint() # text + self.context.restore() self.context.move_to(5, 4) self.context.set_source_rgb(0, 0, 0) self.context.show_layout(self.textlayout)