2006-07-01 Don Allingham <don@gramps-project.org>
* src/GrampsWidgets.py: fix LinkLabel to not try to rebuild gender code svn: r6978
This commit is contained in:
parent
0946c17dba
commit
1ea2bbf4bd
@ -1,3 +1,7 @@
|
||||
2006-07-01 Don Allingham <don@gramps-project.org>
|
||||
* src/GrampsWidgets.py: fix LinkLabel to not try to rebuild
|
||||
gender code
|
||||
|
||||
2006-06-30 Don Allingham <don@gramps-project.org>
|
||||
* src/AddMedia.py: use full paths for calculations to avoid pwd issues
|
||||
* src/DbLoader.py: fix working directories
|
||||
|
@ -74,15 +74,11 @@ class LinkLabel(gtk.EventBox):
|
||||
|
||||
def enter_text(self, obj, event, handle):
|
||||
text = '<span foreground="blue" underline="single">%s</span>' % self.orig_text
|
||||
if self.gender:
|
||||
text += u" %s" % self.gender
|
||||
self.label.set_text(text)
|
||||
self.label.set_use_markup(True)
|
||||
|
||||
def leave_text(self, obj, event, handle):
|
||||
text = '<span underline="single">%s</span>' % self.orig_text
|
||||
if self.gender:
|
||||
text += u" %s" % self.gender
|
||||
self.label.set_text(text)
|
||||
self.label.set_use_markup(True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user