From 8956ee85f7d22009ccffe212b63f38918640d0e0 Mon Sep 17 00:00:00 2001 From: Erik De Richter Date: Fri, 18 Apr 2008 11:03:01 +0000 Subject: [PATCH] bug ID 0001767 link to wiki manual svn: r10584 --- src/plugins/MediaManager.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/plugins/MediaManager.py b/src/plugins/MediaManager.py index 07025fffc..1c5109ce2 100644 --- a/src/plugins/MediaManager.py +++ b/src/plugins/MediaManager.py @@ -31,7 +31,6 @@ # #------------------------------------------------------------------------ import os -from gettext import gettext as _ #------------------------------------------------------------------------ # @@ -53,6 +52,15 @@ from gen.lib import MediaObject from BasicUtils import UpdateCallback from PluginUtils import Tool, register_tool from Utils import media_path_full, relative_path, media_path +from TransUtils import sgettext as _ + +#------------------------------------------------------------------------- +# +# Constants +# +#------------------------------------------------------------------------- +WIKI_HELP_PAGE = 'Gramps_3.0_Wiki_Manual_-_Tools' +WIKI_HELP_SEC = _('manual|Media_Manager...') #------------------------------------------------------------------------- # @@ -152,7 +160,7 @@ class MediaMan(Tool.Tool): def on_help_clicked(self, obj): """Display the relevant portion of GRAMPS manual""" - GrampsDisplay.help() + GrampsDisplay.help(webpage=WIKI_HELP_PAGE, section=WIKI_HELP_SEC) def build_batch_ops(self): self.batch_ops = []