* src/ViewManager.py (ViewManager.about): Use const.py.

* src/const.py.in (url_manual): Add the link constant.
	* src/GrampsDisplay.py (help): Update the link.


svn: r7478
This commit is contained in:
Alex Roitman
2006-10-29 03:01:56 +00:00
parent 9851718362
commit 303d58647c
4 changed files with 13 additions and 8 deletions

View File

@ -1,7 +1,7 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2002-2005 Donald N. Allingham
# Copyright (C) 2002-2006 Donald N. Allingham
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -18,12 +18,18 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id$
import const
def help(target):
try:
import gnome
gnome.help_display('gramps',target)
except:
url('http://gramps-project.org/gramps-manual/gramps-manual-en/index.html')
# FIXME: as manual translations appear online, this needs to
# become more complex to directo to the correct language
url(const.url_manual+'en/')
def url(target):
try:
@ -50,8 +56,3 @@ def run_browser(url):
os.startfile(url)
except:
pass