* src/GrampsWidgets.py (PlaceEntry.set_button): fix tooltips (bug #764)
* src/glade/gramps.glade: remove static tooltip svn: r7807
This commit is contained in:
parent
ba6255ae09
commit
745b3098ed
@ -1,4 +1,6 @@
|
|||||||
2006-12-15 Don Allingham <don@gramps-project.org>
|
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)
|
* src/GrampsDb/_ReadGedcom.py (import2): import a readonly file properly (bug #765)
|
||||||
|
|
||||||
2006-12-15 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
2006-12-15 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||||
|
@ -638,6 +638,7 @@ class PlaceEntry:
|
|||||||
image.set_from_stock(gtk.STOCK_EDIT,gtk.ICON_SIZE_BUTTON)
|
image.set_from_stock(gtk.STOCK_EDIT,gtk.ICON_SIZE_BUTTON)
|
||||||
image.show()
|
image.show()
|
||||||
self.share.add(image)
|
self.share.add(image)
|
||||||
|
self.tooltips.set_tip(self.share, _('Edit place'))
|
||||||
self.tooltips.set_tip(self.add_del, _('Remove place'))
|
self.tooltips.set_tip(self.add_del, _('Remove place'))
|
||||||
else:
|
else:
|
||||||
image = gtk.Image()
|
image = gtk.Image()
|
||||||
@ -648,4 +649,5 @@ class PlaceEntry:
|
|||||||
image.set_from_stock(gtk.STOCK_INDEX,gtk.ICON_SIZE_BUTTON)
|
image.set_from_stock(gtk.STOCK_INDEX,gtk.ICON_SIZE_BUTTON)
|
||||||
image.show()
|
image.show()
|
||||||
self.share.add(image)
|
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'))
|
self.tooltips.set_tip(self.add_del, _('Add a new place'))
|
||||||
|
@ -7079,7 +7079,6 @@
|
|||||||
<child>
|
<child>
|
||||||
<widget class="GtkButton" id="select_place">
|
<widget class="GtkButton" id="select_place">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="tooltip" translatable="yes">Select an existing place</property>
|
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="relief">GTK_RELIEF_NONE</property>
|
<property name="relief">GTK_RELIEF_NONE</property>
|
||||||
<property name="focus_on_click">True</property>
|
<property name="focus_on_click">True</property>
|
||||||
@ -10828,7 +10827,6 @@
|
|||||||
<child>
|
<child>
|
||||||
<widget class="GtkButton" id="share_place">
|
<widget class="GtkButton" id="share_place">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="tooltip" translatable="yes">Select an existing place</property>
|
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="relief">GTK_RELIEF_NONE</property>
|
<property name="relief">GTK_RELIEF_NONE</property>
|
||||||
<property name="focus_on_click">True</property>
|
<property name="focus_on_click">True</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user