From aeaef72c204bf9c0b2518e1011a8cfb68caf8042 Mon Sep 17 00:00:00 2001 From: "Donald A. Peterson" Date: Thu, 18 Apr 2002 23:10:13 +0000 Subject: [PATCH] * Help files (manual and writing extensions) are now determined from a search in the GNOME help path. (GNOMEDIR environment variable) rather than a hard-coded/expected path. * We now look for the master .sgml file rather than an html file. svn: r936 --- gramps/src/gramps_main.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gramps/src/gramps_main.py b/gramps/src/gramps_main.py index 0667dfdac..2672b693a 100755 --- a/gramps/src/gramps_main.py +++ b/gramps/src/gramps_main.py @@ -420,12 +420,16 @@ class Gramps: def on_contents_activate(self,obj): """Display the GRAMPS manual""" import gnome.help - gnome.help.display("gramps-manual","index.html") + url = gnome.help.file_find_file("gramps-manual","gramps-manual.sgml") + url = "gnome-help:"+url + gnome.help.goto(url) def on_writing_extensions_activate(self,obj): """Display the Extending GRAMPS manual""" import gnome.help - gnome.help.display("extending-gramps","index.html") + url = gnome.help.file_find_file("extending-gramps","extending-gramps.sgml") + url = "gnome-help:"+url + gnome.help.goto(url) def on_remove_child_clicked(self,obj): if not self.active_family or not self.active_child or not self.active_person: