2006-05-23 Don Allingham <don@gramps-project.org>

* src/DataViews/_RelationView.py: finish shading
	* src/GrampsDb/_DbUtils.py: add birth/death index set funcion
	* src/Editors/_EditPerson.py: birth/death index fixes
	* src/DisplayTabs/_PersonEventEmbedList.py: birth/death index fixes
	* src/GrampsWidgets.py: shading fixes
	* src/DisplayModels/_PeopleModel.py: birth/death index fixes



svn: r6764
This commit is contained in:
Don Allingham
2006-05-23 21:07:26 +00:00
parent d1d1c2fb5b
commit 74b55ce32a
7 changed files with 101 additions and 71 deletions

View File

@@ -65,6 +65,9 @@ class LinkLabel(gtk.EventBox):
self.connect('enter-notify-event', self.enter_text, handle)
self.connect('leave-notify-event', self.leave_text, handle)
self.connect('realize', realize_cb)
def set_padding(self, x, y):
self.label.set_padding(x, y)
def enter_text(self, obj, event, handle):
text = '<span foreground="blue" underline="single">%s</span>' % self.orig_text