Re: ghelp as root
- From: Vladislav Grinchenko <vladg erols com>
- To: Joseph Monti <joe tgpr org>
- Cc: gnome-devel list <gnome-devel-list gnome org>
- Subject: Re: ghelp as root
- Date: 11 Mar 2003 17:01:20 -0500
Joseph,
looks like gnome_help_display() has been broken since 2.0.
I spent some time trying to figure that one out and gave up.
I was told all I had to do is to set DATADIR and then call
gnome_help_display ("gwavmerger.xml", NULL, &error);
Well, it doesn't work.
If you are interested, take a look at code comments before
function help_contents_cb () here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/gwavmerger/gwavmerger/src/MainWindow.cpp?rev=1.6&content-type=text/vnd.viewcvs-markup
However, gnome-utils package that includes small utilities such as
calculator and dictionary display their help with Yelp just fine.
Hope this helps,
-Vlad
On Tue, 2003-03-11 at 15:00, Joseph Monti wrote:
> I am developing a Gnome app (called GrubConf:
> http://grubconf.sourceforge.net). This program needs to be run as root.
> I spent a lot of time writing documentation for scrollkeeper, but the
> application fails to access the help.
>
> This is what I use to access the help:
>
> gnome_help_display ("grubconf", NULL, &error);
>
> If I launch Yelp as a regular user I can get at the documentation, but
> my application can't be launched as regular user, so I cant test that.
>
> When I try to launch Yelp as root it segfaults.
>
> I'm using Gnome 2.2
>
> Any ideas?
>
> Thanks!
> - Joe
--
Vladislav Grinchenko <vladg dedalus 3rdShift com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]