* src/GrampsWidgets.py (PlaceEntry.set_button): fix tooltips (bug #764)

* src/glade/gramps.glade: remove static tooltip


svn: r7807
This commit is contained in:
Don Allingham 2006-12-16 04:32:15 +00:00
parent cba1d710ab
commit b393649c8e
3 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,6 @@
2006-12-15 Don Allingham <don@gramps-project.org>
* src/GrampsWidgets.py (PlaceEntry.set_button): fix tooltips (bug #764)
* src/glade/gramps.glade: remove static tooltip
* src/GrampsDb/_ReadGedcom.py (import2): import a readonly file properly (bug #765)
2006-12-15 Martin Hawlisch <Martin.Hawlisch@gmx.de>

View File

@ -638,6 +638,7 @@ class PlaceEntry:
image.set_from_stock(gtk.STOCK_EDIT,gtk.ICON_SIZE_BUTTON)
image.show()
self.share.add(image)
self.tooltips.set_tip(self.share, _('Edit place'))
self.tooltips.set_tip(self.add_del, _('Remove place'))
else:
image = gtk.Image()
@ -648,4 +649,5 @@ class PlaceEntry:
image.set_from_stock(gtk.STOCK_INDEX,gtk.ICON_SIZE_BUTTON)
image.show()
self.share.add(image)
self.tooltips.set_tip(self.share, _('Select an existing place'))
self.tooltips.set_tip(self.add_del, _('Add a new place'))

View File

@ -7079,7 +7079,6 @@
<child>
<widget class="GtkButton" id="select_place">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Select an existing place</property>
<property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NONE</property>
<property name="focus_on_click">True</property>
@ -10828,7 +10827,6 @@
<child>
<widget class="GtkButton" id="share_place">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Select an existing place</property>
<property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NONE</property>
<property name="focus_on_click">True</property>