Re: ghelp as root


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:

However, gnome-utils package that includes small utilities such as
calculator and dictionary display their help with Yelp just fine.

Hope this helps,

On Tue, 2003-03-11 at 15:00, Joseph Monti wrote:
> I am developing a Gnome app (called GrubConf:
> 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]