GNOME Bugzilla – Bug 326890
Clicking `Help' in gnome-power-preferences does not lauch the yelp file
Last modified: 2006-01-19 16:48:59 UTC
When I click `Help' in gnome-power-preferences it does not lauch the yelp file. I'll attach a patch, but it does not work: I get, ** (gnome-power-preferences:3825): WARNING **: Unable to find the help files in either /home/hughsie/.root/share/gnome/help/./gnome-power-preferences/ or /usr/share/gnome/help/. Please check your installation i.e. it's looking in the g-p-p folder rather than in the g-p-m folder. Not sure if I should split the yelp file into g-p-m and g-p-p specific parts, as this would solve the problem, but there must be another way. Ideas welcome.
Created attachment 57305 [details] [review] The patch in question.
does gnome_help_display_with_doc_id (NULL, "gnome-power-manager", "gnome-power-manager.xml", NULL, &error); work instead?
Created attachment 57650 [details] [review] patch Thanks Ray, that works. OK to commit?
Feaky, I was just testing that new code..... I get: ** (gnome-power-preferences:23864): WARNING **: Unable to find the help files in either /home/hughsie/.root/share/gnome/help/./gnome-power-preferences/ or /usr/share/gnome/help/. Please check your installation on Fedora Core 4 (Gnome 2.10...) but it works on Rawhide (Gnome 2.13.x), which I'm guessing is because of bug http://bugzilla.gnome.org/show_bug.cgi?id=82140 and why I couldn't get it to work on my development machine. Good to commit. Thanks Ray and Jon.
Committed. 2006-01-19 William Jon McCann <mccann@jhu.edu> * src/gpm-prefs.c (gpm_prefs_help_cb): Use gnome_help. Fixes #326890