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
3f750b2e40
commit
e842a07b65
@ -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>
|
2006-06-30 Don Allingham <don@gramps-project.org>
|
||||||
* src/AddMedia.py: use full paths for calculations to avoid pwd issues
|
* src/AddMedia.py: use full paths for calculations to avoid pwd issues
|
||||||
* src/DbLoader.py: fix working directories
|
* src/DbLoader.py: fix working directories
|
||||||
|
@ -74,15 +74,11 @@ class LinkLabel(gtk.EventBox):
|
|||||||
|
|
||||||
def enter_text(self, obj, event, handle):
|
def enter_text(self, obj, event, handle):
|
||||||
text = '<span foreground="blue" underline="single">%s</span>' % self.orig_text
|
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_text(text)
|
||||||
self.label.set_use_markup(True)
|
self.label.set_use_markup(True)
|
||||||
|
|
||||||
def leave_text(self, obj, event, handle):
|
def leave_text(self, obj, event, handle):
|
||||||
text = '<span underline="single">%s</span>' % self.orig_text
|
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_text(text)
|
||||||
self.label.set_use_markup(True)
|
self.label.set_use_markup(True)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user