From b59805d5d90679598ae87bef1a1a4164ecb3aeba Mon Sep 17 00:00:00 2001 From: Erik De Richter Date: Wed, 19 Mar 2008 19:15:05 +0000 Subject: [PATCH] link to wiki manual svn: r10340 --- 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):