> On 11/11/12 10:48, Robert Norris wrote: > > > > Interesting, as I've only just been looking at some of this today. > > > > Viking's help should be installed in > > /usr/share/gnome/help/viking/C/viking.xml > > (possibly /usr/local/share/gnome/help/viking/C/viking.xml if installed from > > the source) > > > > Thanks for looking into this Robert. > > Help is installed in both /usr and /usr/local (as above). The /usr > version because of the package installation. >
OK > > > > Try on the command line: > > > > yelp ghelp:viking > > > > This works both for /usr and /usr/local help files. I had to install > yelp first, I also installed yelp-tools just in case. > OK. > > I note we don't check the return value of gtk_show_uri, nor the error code > > it returns. So ATM it will fail silently. > > > > I will fix this. NB There is also a small chance it doesn't use > > gtk_show_uri(), but it fails silently there too. > > > > I added your modified code and this is the result: > > "help is not available because: the specified location is not supported" > Thank you for trying this out > The directory structure and location is identical under both Linux > installations. The only difference is Kubuntu doesn't display the help file. > > Does this help? I can carry out more testing if you like. Seem to be yelp bug. See http://bugs.launchpad.net/yelp/+bug/695260 and but especially this http://forums.linuxmint.com/viewtopic.php?f=90&t=77196 Looks like Mime Type handler for ghelp is not associated with yelp. Thus 'yelp ghelp:viking' works but this shouldn't: xdg-open ghelp:viking Append this (as root user): MimeType=x-scheme-handler/ghelp;x-scheme-handler/help;x-scheme-handler/info;x-scheme-handler/man; to /usr/share/applications/yelp.desktop then update: sudo update-desktop-database -q sudo update-mime-database /usr/share/mime I can reproduce your error when I disable the yelp association with ghelp. Obviously nothing else on the system is handling 'ghelp' requests - so it results in the "the specified location is not supported" PS There was a slight logic flaw in the help_help_cb() I posted.... (It was after a few beers!!) line: if (ans) --> if (!ans) Otherwise it will display a dialog warning even when it works! All the best, Rob. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ Viking-devel mailing list Viking-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viking-devel Viking home page: http://viking.sf.net/