On Sun, 2005-07-31 at 18:44 -0400, Mystilleef wrote:
> Hello,
>
> I'm trying to figure out some of the libgnome functions, in particular
> the help functions. How do I launch Gedit's help files in yelp? I have
> tried the following:
>
> gnome.help_display("/usr/share/gnome/help/gedit.xml")
>
> But if fails with the following error:
>
> (scribes:31158): Gnome-WARNING **: gnome-program.c:987: Directory
> properties not set correctly. Cannot locate application specific
> files.
> Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/scribeslib/editor_async.py",
> line 1280, in help
> gnome.help_display("/usr/share/gnome/help/gedit.xml")
> gobject.GError: Unable to find the GNOME_FILE_DOMAIN_APP_HELP domain
>
> Your help is appreciated.
Something like this:
Initialize gnome with:
props = { gnome.PARAM_APP_DATADIR : '/usr/share'}
prog = gnome.program_init(<appname>, '1.0', properties=props)
Then when you want to see help:
gnome.help_display(<appname>,<screenname>)
This assumes your help files are located in:
/usr/share/gnome/help/<appname>/C/
>
> Thanks
> _______________________________________________
> pygtk mailing list [email protected]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
--
Steve
[EMAIL PROTECTED] http://www.themcclures.com/
signature.asc
Description: This is a digitally signed message part
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
