wiki manual link

svn: r10119
This commit is contained in:
Erik De Richter 2008-02-25 11:46:19 +00:00
parent 46dad9bae3
commit e9d978d646
2 changed files with 25 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2008-02-20 Frederik De Richter <frederik.de.richter@pandora.be>
* src/GrampsLogger/_ErrorView.py
links to wiki manual
2008-02-25 Raphael Ackermann <raphael.ackermann@gmail.com>
* 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

View File

@ -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")