(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> 2007-01-26 Don Allingham <don@gramps-project.org>
* src/DataViews/_MediaView.py: fix accelerator entries * src/DataViews/_MediaView.py: fix accelerator entries
(MediaView.define_actions): add tooltip for view menu
* src/DataViews/_RepositoryView.py: fix accelerator entries * src/DataViews/_RepositoryView.py: fix accelerator entries
* src/DataViews/_SourceView.py: fix accelerator entries * src/DataViews/_SourceView.py: fix accelerator entries
* src/DataViews/_EventView.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) _('_Column Editor'), callback=self.column_editor)
self.add_action('FilterEdit', None, _('Media Filter Editor'), self.add_action('FilterEdit', None, _('Media Filter Editor'),
callback=self.filter_editor) callback=self.filter_editor)
self.add_action('OpenMedia', 'gramps-viewmedia', _('View'), self.add_action('OpenMedia', 'gramps-viewmedia', _('View'),
callback=self.view_media) tip=_("View in the default viewer"), callback=self.view_media)
def view_media(self, obj): def view_media(self, obj):
mlist = [] mlist = []