From e9d978d6461f57ee7a9c0565a6314b9dc59724b9 Mon Sep 17 00:00:00 2001 From: Erik De Richter Date: Mon, 25 Feb 2008 11:46:19 +0000 Subject: [PATCH] wiki manual link svn: r10119 --- ChangeLog | 4 ++++ src/GrampsLogger/_ErrorView.py | 25 +++++++++++++++++++++---- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index cf28cf292..748a903c3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-02-20 Frederik De Richter + * src/GrampsLogger/_ErrorView.py + links to wiki manual + 2008-02-25 Raphael Ackermann * src/ReportBase/_ArgHandler.py (ArgHandler.cl_action): improve output when no report or tool name is given. Remove call to sys.exit(1) as it diff --git a/src/GrampsLogger/_ErrorView.py b/src/GrampsLogger/_ErrorView.py index 5f961612a..4f3a13aac 100644 --- a/src/GrampsLogger/_ErrorView.py +++ b/src/GrampsLogger/_ErrorView.py @@ -1,10 +1,27 @@ -from gettext import gettext as _ - +#------------------------------------------------------------------------- +# +# GNOME modules +# +#------------------------------------------------------------------------- import gtk +#------------------------------------------------------------------------- +# +# gramps modules +# +#------------------------------------------------------------------------- +from TransUtils import sgettext as _ from _ErrorReportAssistant import ErrorReportAssistant import GrampsDisplay +#------------------------------------------------------------------------- +# +# Constants +# +#------------------------------------------------------------------------- +WIKI_HELP_PAGE = 'Gramps_3.0_Wiki_Manual_-_FAQ' +WIKI_HELP_SEC = _('manual|General') + class ErrorView(object): """ A Dialog for displaying errors. @@ -34,8 +51,8 @@ class ErrorView(object): def help_clicked(self): """Display the relevant portion of GRAMPS manual""" - # FIXME: replace tag when relevant help page is available - GrampsDisplay.help('faq') + + GrampsDisplay.help('faq', WIKI_HELP_PAGE, WIKI_HELP_SEC) def draw_window(self): title = "%s - GRAMPS" % _("Error Report")