From 2670ca26376ab0643e9281d407a12bdc319605f0 Mon Sep 17 00:00:00 2001 From: Raphael Ackermann Date: Tue, 15 Jan 2008 17:59:56 +0000 Subject: [PATCH] 2008-01-15 Raphael Ackermann * src/const.py.in: added constants for help pages * src/ViewManager.py: support for help pages called from menu 0001606: Help menu items not functioning svn: r9821 --- ChangeLog | 5 +++++ src/ViewManager.py | 4 ++-- src/const.py.in | 2 ++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ef6aab96b..d89ca6a25 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-01-15 Raphael Ackermann + * src/const.py.in: added constants for help pages + * src/ViewManager.py: support for help pages called from menu + 0001606: Help menu items not functioning + 2008-01-15 Douglas S. Blank * src/plugins/SameSurnames.py (run): change description to just surname, not entire person (bug #1595) diff --git a/src/ViewManager.py b/src/ViewManager.py index fb801a1b6..92737cb4a 100644 --- a/src/ViewManager.py +++ b/src/ViewManager.py @@ -1466,7 +1466,7 @@ def key_bindings(obj): """ Display key bindings """ - GrampsDisplay.help('keybind-lists') + GrampsDisplay.help('keybind-lists', const.WIKI_KEYBINDINGS) def manual_activate(obj): """ @@ -1496,7 +1496,7 @@ def faq_activate(obj): """ Display FAQ """ - GrampsDisplay.help('faq') + GrampsDisplay.help("faq", webpage=const.WIKI_FAQ) def by_menu_name(first, second): """ diff --git a/src/const.py.in b/src/const.py.in index 348e562a4..970dcbb56 100644 --- a/src/const.py.in +++ b/src/const.py.in @@ -43,6 +43,8 @@ URL_MAILINGLIST = "http://sourceforge.net/mail/?group_id=25770" URL_BUGTRACKER = "http://bugs.gramps-project.org/bug_report_advanced_page.php" URL_WIKISTRING = "http://gramps-project.org/wiki/index.php?title=" URL_MANUAL_PAGE = "Gramps_3.0_Wiki_Manual" +WIKI_FAQ = "FAQ" +WIKI_KEYBINDINGS = "Gramps_3.0_Wiki_Manual_-_Keybindings" #------------------------------------------------------------------------- #