From 8e04fa506f8a1064156207850d11692f9c095f19 Mon Sep 17 00:00:00 2001 From: Gary Burton Date: Tue, 1 Jan 2008 12:57:18 +0000 Subject: [PATCH] 2008-01-01 Gary Burton * src/Editors/_EditFamily.py: Enabled tooltips on person edit buttons bug #1501 svn: r9672 --- ChangeLog | 6 +++++- src/Editors/_EditFamily.py | 7 +++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 14ebf5b90..2bd541b19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ +2008-01-01 Gary Burton + * src/Editors/_EditFamily.py: Enabled tooltips on person edit buttons + bug #1501 + 2008-01-01 Brian Matherly * src/gramps_main.py: * src/PluginUtils/_MenuOptions.py: Refinement of "Center Person" selection for reports. Now only use one - dialog. \ No newline at end of file + dialog. diff --git a/src/Editors/_EditFamily.py b/src/Editors/_EditFamily.py index f890ffd15..1998b794d 100644 --- a/src/Editors/_EditFamily.py +++ b/src/Editors/_EditFamily.py @@ -799,10 +799,13 @@ class EditFamily(EditPrimary): self.tooltips.set_tip(btn_obj, del_msg) 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( BasicLabel(name), - IconButton(self.edit_person,person.handle) - )) + edit_btn) + ) else: btn2_obj.show() name = ""