(MediaView.define_actions): add tooltip for view menu
svn: r7990
This commit is contained in:
parent
edd966d2f4
commit
a04f8c38bf
@ -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
|
||||||
|
@ -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 = []
|
||||||
|
Loading…
Reference in New Issue
Block a user