diff --git a/ChangeLog b/ChangeLog index 008b95e10..a50d2a2cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,6 @@ 2006-06-30 Don Allingham * src/GrampsWidgets.py: Add GenderWidget to try to isolate windows - font problems + font problems by switching fonts if needed 2006-06-28 Don Allingham * src/DataViews/_PedigreeView.py (PedigreeView.rebuild): use gtk.Arrow diff --git a/src/DataViews/_RelationView.py b/src/DataViews/_RelationView.py index 4de8c3b38..ebe2e6598 100644 --- a/src/DataViews/_RelationView.py +++ b/src/DataViews/_RelationView.py @@ -360,8 +360,7 @@ class RelationshipView(PageView.PersonNavView): name = NameDisplay.displayer.display(person) fmt = '%s' text = fmt % cgi.escape(name) - gender = fmt % _GenderCode[person.gender] - label = GrampsWidgets.DualMarkupLabel(text, gender) + label = GrampsWidgets.DualMarkupLabel(text, _GenderCode[person.gender]) button = GrampsWidgets.IconButton(self.edit_button_press,person.handle) hbox = GrampsWidgets.LinkBox(label, button)