diff --git a/ChangeLog b/ChangeLog index 0ab1384f2..79374228f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-03-03 Frederik De Richter + * src/plugins/Desbrowser.py + links to wiki manual + 2008-03-02 Brian Matherly * src/docgen/TextBufDoc.py: 0001882: Reports->Text Reports->Kinship Report output to diff --git a/src/plugins/Desbrowser.py b/src/plugins/Desbrowser.py index 98b19d8e5..4543ec9f5 100644 --- a/src/plugins/Desbrowser.py +++ b/src/plugins/Desbrowser.py @@ -28,7 +28,6 @@ # #------------------------------------------------------------------------ import os -from gettext import gettext as _ #------------------------------------------------------------------------ # @@ -47,12 +46,19 @@ from BasicUtils import name_displayer from PluginUtils import Tool, register_tool import GrampsDisplay import ManagedWindow +from TransUtils import sgettext as _ +#------------------------------------------------------------------------ +# +# Constants +# +#------------------------------------------------------------------------ +WIKI_HELP_PAGE = 'Gramps_3.0_Wiki_Manual_-_Tools' +WIKI_HELP_SEC = _('manual|Interactive_Descendant_Browser') + + + + -#------------------------------------------------------------------------ -# -# -# -#------------------------------------------------------------------------ class DesBrowse(Tool.ActivePersonTool, ManagedWindow.ManagedWindow): def __init__(self, dbstate, uistate, options_class, name, callback=None): @@ -103,7 +109,8 @@ class DesBrowse(Tool.ActivePersonTool, ManagedWindow.ManagedWindow): def on_help_clicked(self, obj): """Display the relevant portion of GRAMPS manual""" - GrampsDisplay.help('tools-ae') + GrampsDisplay.help('tools-ae',webpage=WIKI_HELP_PAGE, + section=WIKI_HELP_SEC) def add_to_tree(self, parent_id, sib_id, person_handle): item_id = self.model.insert_after(parent_id, sib_id)