link to wiki manual

svn: r10255
This commit is contained in:
Erik De Richter
2008-03-10 12:07:11 +00:00
parent 81b255b596
commit 4a30aaeca3

View File

@ -28,7 +28,6 @@
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
import os import os
from gettext import gettext as _
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
@ -50,7 +49,7 @@ import ManagedWindow
from QuestionDialog import OkDialog from QuestionDialog import OkDialog
from PluginUtils import Tool, register_tool from PluginUtils import Tool, register_tool
from TransUtils import sgettext as _
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# constants # constants
@ -64,7 +63,8 @@ prefix_list = [
"um", "una", "uno", "um", "una", "uno",
] ]
WIKI_HELP_PAGE = 'Gramps_3.0_Wiki_Manual_-_Tools'
WIKI_HELP_SEC = _('manual|Fix_Capitalization_of_Family_Names...')
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
@ -231,7 +231,7 @@ class ChangeNames(Tool.BatchTool, ManagedWindow.ManagedWindow):
def on_help_clicked(self, obj): def on_help_clicked(self, obj):
"""Display the relevant portion of GRAMPS manual""" """Display the relevant portion of GRAMPS manual"""
GrampsDisplay.help('tools-db') GrampsDisplay.help('tools-db', WIKI_HELP_PAGE , WIKI_HELP_SEC)
def on_ok_clicked(self, obj): def on_ok_clicked(self, obj):
self.trans = self.db.transaction_begin("",batch=True) self.trans = self.db.transaction_begin("",batch=True)