From 00c144c8ecb37f2ee7527bc9418a682860a5da25 Mon Sep 17 00:00:00 2001 From: Erik De Richter Date: Mon, 14 Apr 2008 15:32:52 +0000 Subject: [PATCH] Bug ID 0001767 Help button function link to manual svn: r10563 --- src/plugins/FindDupes.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/plugins/FindDupes.py b/src/plugins/FindDupes.py index 3e5894677..71297dedb 100644 --- a/src/plugins/FindDupes.py +++ b/src/plugins/FindDupes.py @@ -28,7 +28,6 @@ # #------------------------------------------------------------------------- import os -from gettext import gettext as _ #------------------------------------------------------------------------- # @@ -54,7 +53,7 @@ import GrampsDisplay import ManagedWindow from PluginUtils import Tool, register_tool from QuestionDialog import ErrorDialog, RunDatabaseRepair - +from TransUtils import sgettext as _ #------------------------------------------------------------------------- # # Constants @@ -66,6 +65,8 @@ _val2label = { 2.0 : _("High"), } +WIKI_HELP_PAGE = 'Gramps_3.0_Wiki_Manual_-_Tools' +WIKI_HELP_SEC = _('manual|Find_Possible_Duplicate_People...') #------------------------------------------------------------------------- # # @@ -146,7 +147,8 @@ class Merge(Tool.Tool,ManagedWindow.ManagedWindow): def on_help_clicked(self, obj): """Display the relevant portion of GRAMPS manual""" - GrampsDisplay.help() + + GrampsDisplay.help(WIKI_HELP_PAGE , WIKI_HELP_SEC) def ancestors_of(self,p1_id,id_list): if (not p1_id) or (p1_id in id_list): @@ -583,8 +585,8 @@ class ShowMatches(ManagedWindow.ManagedWindow): def on_help_clicked(self, obj): """Display the relevant portion of GRAMPS manual""" - GrampsDisplay.help() - + + GrampsDisplay.help(WIKI_HELP_PAGE , WIKI_HELP_SEC) def redraw(self): list = [] for p1key in self.map.keys():