wiki manual link
svn: r10119
This commit is contained in:
parent
46dad9bae3
commit
e9d978d646
@ -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
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user