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