* 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
This commit is contained in:
parent
9b3bbb5eb1
commit
aeaef72c20
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user