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:
Don Allingham 2006-07-01 19:54:35 +00:00
parent 0946c17dba
commit 1ea2bbf4bd
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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)