From 32eaa990a71b39ce056ab5491c15f94176a88369 Mon Sep 17 00:00:00 2001 From: Erik De Richter Date: Wed, 19 Mar 2008 19:17:20 +0000 Subject: [PATCH] link to wiki manual svn: r10341 --- src/Bookmarks.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/Bookmarks.py b/src/Bookmarks.py index 92f702125..d98fac2d4 100644 --- a/src/Bookmarks.py +++ b/src/Bookmarks.py @@ -27,7 +27,7 @@ # Standard python modules # #------------------------------------------------------------------------- -from gettext import gettext as _ + from cStringIO import StringIO #------------------------------------------------------------------------- @@ -54,6 +54,15 @@ import GrampsDisplay from BasicUtils import name_displayer import ListModel import Utils +from TransUtils import sgettext as _ + +#------------------------------------------------------------------------- +# +# Constants +# +#------------------------------------------------------------------------- +WIKI_HELP_PAGE = 'Gramps_3.0_Wiki_Manual_-_Navigation' +WIKI_HELP_SEC = _('manual|Bookmarks') #------------------------------------------------------------------------- # @@ -293,7 +302,8 @@ class Bookmarks : def help_clicked(self): """Display the relevant portion of GRAMPS manual.""" - GrampsDisplay.help('gramps-nav') + GrampsDisplay.help('gramps-nav', webpage=WIKI_HELP_PAGE, + section=WIKI_HELP_SEC)) self.response = self.top.run() class ListBookmarks(Bookmarks):