Add tooltips to bottombar gramplets
svn: r16370
This commit is contained in:
parent
ac8d889314
commit
5508719070
@ -38,6 +38,9 @@ class PersonAttributes(Gramplet):
|
||||
"""
|
||||
Build the GUI interface.
|
||||
"""
|
||||
tip = _('Double-click on a row to view a quick report showing ' + \
|
||||
'all people with the selected attribute.')
|
||||
self.gui.tooltip = tip
|
||||
top = gtk.TreeView()
|
||||
titles = [(_('Key'), 1, 100),
|
||||
(_('Value'), 2, 100)]
|
||||
|
@ -42,6 +42,7 @@ class PersonDetails(Gramplet):
|
||||
"""
|
||||
Build the GUI interface.
|
||||
"""
|
||||
self.gui.tooltip = ''
|
||||
self.load_obj = None
|
||||
self.load_rect = None
|
||||
top = gtk.HBox()
|
||||
|
@ -38,6 +38,9 @@ class PersonGallery(Gramplet):
|
||||
"""
|
||||
Build the GUI interface.
|
||||
"""
|
||||
tip = _('Double-click on a picture to view it in the default image ' + \
|
||||
'viewer application.')
|
||||
self.gui.tooltip = tip
|
||||
self.image_list = []
|
||||
self.top = gtk.HBox(False, 3)
|
||||
return self.top
|
||||
|
@ -40,6 +40,8 @@ class PersonResidence(Gramplet):
|
||||
"""
|
||||
Build the GUI interface.
|
||||
"""
|
||||
tip = _('Double-click on a row to edit the selected event.')
|
||||
self.gui.tooltip = tip
|
||||
top = gtk.TreeView()
|
||||
titles = [('', NOSORT, 50,),
|
||||
(_('Date'), 1, 200),
|
||||
|
Loading…
Reference in New Issue
Block a user