(MediaView.define_actions): add tooltip for view menu

svn: r7990
This commit is contained in:
Don Allingham 2007-01-26 14:00:29 +00:00
parent edd966d2f4
commit a04f8c38bf
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
2007-01-26 Don Allingham <don@gramps-project.org>
* src/DataViews/_MediaView.py: fix accelerator entries
(MediaView.define_actions): add tooltip for view menu
* src/DataViews/_RepositoryView.py: fix accelerator entries
* src/DataViews/_SourceView.py: fix accelerator entries
* src/DataViews/_EventView.py: fix accelerator entries

View File

@ -194,8 +194,8 @@ class MediaView(PageView.ListView):
_('_Column Editor'), callback=self.column_editor)
self.add_action('FilterEdit', None, _('Media Filter Editor'),
callback=self.filter_editor)
self.add_action('OpenMedia', 'gramps-viewmedia', _('View'),
callback=self.view_media)
self.add_action('OpenMedia', 'gramps-viewmedia', _('View'),
tip=_("View in the default viewer"), callback=self.view_media)
def view_media(self, obj):
mlist = []