Add tooltips to bottombar gramplets

svn: r16370
This commit is contained in:
Nick Hall 2011-01-12 18:09:35 +00:00
parent ac8d889314
commit 5508719070
4 changed files with 9 additions and 0 deletions

View File

@ -38,6 +38,9 @@ class PersonAttributes(Gramplet):
""" """
Build the GUI interface. 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() top = gtk.TreeView()
titles = [(_('Key'), 1, 100), titles = [(_('Key'), 1, 100),
(_('Value'), 2, 100)] (_('Value'), 2, 100)]

View File

@ -42,6 +42,7 @@ class PersonDetails(Gramplet):
""" """
Build the GUI interface. Build the GUI interface.
""" """
self.gui.tooltip = ''
self.load_obj = None self.load_obj = None
self.load_rect = None self.load_rect = None
top = gtk.HBox() top = gtk.HBox()

View File

@ -38,6 +38,9 @@ class PersonGallery(Gramplet):
""" """
Build the GUI interface. 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.image_list = []
self.top = gtk.HBox(False, 3) self.top = gtk.HBox(False, 3)
return self.top return self.top

View File

@ -40,6 +40,8 @@ class PersonResidence(Gramplet):
""" """
Build the GUI interface. Build the GUI interface.
""" """
tip = _('Double-click on a row to edit the selected event.')
self.gui.tooltip = tip
top = gtk.TreeView() top = gtk.TreeView()
titles = [('', NOSORT, 50,), titles = [('', NOSORT, 50,),
(_('Date'), 1, 200), (_('Date'), 1, 200),