changes for wiki manual

svn: r11143
This commit is contained in:
Erik De Richter
2008-10-14 07:05:06 +00:00
parent e257ec823d
commit 34d50128ca

View File

@ -59,6 +59,13 @@ import ManagedWindow
from TransUtils import sgettext as _ from TransUtils import sgettext as _
from DdTargets import DdTargets from DdTargets import DdTargets
#-------------------------------------------------------------------------
#
# Constants
#
#-------------------------------------------------------------------------
WIKI_HELP_PAGE = 'Gramps_3.0_Wiki_Manual_-_Navigation'
WIKI_HELP_SEC = _('manual|Using_the_Clipboard')
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
@ -1245,7 +1252,7 @@ class ScratchPadWindow(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-util-scratch-pad') GrampsDisplay.help(webpage=WIKI_HELP_PAGE, section=WIKI_HELP_SEC)
def on_clear_clicked(self, obj): def on_clear_clicked(self, obj):
"""Deletes the selected object from the object list""" """Deletes the selected object from the object list"""