From 4c479c64b2bf58751da5b4c0040370c29e3aa951 Mon Sep 17 00:00:00 2001 From: Erik De Richter Date: Mon, 21 Apr 2008 08:56:55 +0000 Subject: [PATCH] Bug ID 0001767 wiki link to manual svn: r10613 --- src/FilterEditor/_EditFilter.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/FilterEditor/_EditFilter.py b/src/FilterEditor/_EditFilter.py index 5d11a82d1..0fdb76f8f 100644 --- a/src/FilterEditor/_EditFilter.py +++ b/src/FilterEditor/_EditFilter.py @@ -29,7 +29,6 @@ Custom Filter Editor tool. # Python modules # #------------------------------------------------------------------------- -from gettext import gettext as _ #------------------------------------------------------------------------ # @@ -49,6 +48,14 @@ import ListModel import ManagedWindow import GrampsDisplay import Errors +from TransUtils import sgettext as _ + +#------------------------------------------------------------------------- +# +# Constants +# +#------------------------------------------------------------------------- +WIKI_HELP_PAGE = 'Gramps_3.0_Wiki_Manual_-_Filters' #------------------------------------------------------------------------- # @@ -118,7 +125,7 @@ class EditFilter(ManagedWindow.ManagedWindow): def on_help_clicked(self, obj): """Display the relevant portion of GRAMPS manual""" - GrampsDisplay.help() + GrampsDisplay.help(webpage=WIKI_HELP_PAGE) def close_window(self, obj): self.close()