2008-01-01 Gary Burton <gary.burton@zen.co.uk>

* src/Editors/_EditFamily.py: Enabled tooltips on person edit buttons
	bug #1501


svn: r9672
This commit is contained in:
Gary Burton 2008-01-01 12:57:18 +00:00
parent bc66824cb8
commit 8e04fa506f
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2008-01-01 Gary Burton <gary.burton@zen.co.uk>
* src/Editors/_EditFamily.py: Enabled tooltips on person edit buttons
bug #1501
2008-01-01 Brian Matherly <brian@gramps-project.org> 2008-01-01 Brian Matherly <brian@gramps-project.org>
* src/gramps_main.py: * src/gramps_main.py:
* src/PluginUtils/_MenuOptions.py: * src/PluginUtils/_MenuOptions.py:

View File

@ -799,10 +799,13 @@ class EditFamily(EditPrimary):
self.tooltips.set_tip(btn_obj, del_msg) self.tooltips.set_tip(btn_obj, del_msg)
btn_obj.add(del_image) btn_obj.add(del_image)
edit_btn = IconButton(self.edit_person,person.handle)
self.tooltips.set_tip(edit_btn, _('Edit %s') % name)
box.pack_start(LinkBox( box.pack_start(LinkBox(
BasicLabel(name), BasicLabel(name),
IconButton(self.edit_person,person.handle) edit_btn)
)) )
else: else:
btn2_obj.show() btn2_obj.show()
name = "" name = ""