font problems by switching fonts if needed
svn: r6975
This commit is contained in:
parent
4e0c9e816e
commit
7d56d70075
@ -1,6 +1,6 @@
|
||||
2006-06-30 Don Allingham <don@gramps-project.org>
|
||||
* src/GrampsWidgets.py: Add GenderWidget to try to isolate windows
|
||||
font problems
|
||||
font problems by switching fonts if needed
|
||||
|
||||
2006-06-28 Don Allingham <don@gramps-project.org>
|
||||
* src/DataViews/_PedigreeView.py (PedigreeView.rebuild): use gtk.Arrow
|
||||
|
@ -360,8 +360,7 @@ class RelationshipView(PageView.PersonNavView):
|
||||
name = NameDisplay.displayer.display(person)
|
||||
fmt = '<span size="larger" weight="bold">%s</span>'
|
||||
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user