[pygtk] gnome help default search path

Douglas S. Blank dblank at cs.brynmawr.edu
Wed Jan 10 07:11:52 WST 2007


[I hope this is the correct mailing list. If not, please tell me where 
to go :) ]

Hello,

I'm working on a gnome python app (gramps genealogy program) and am 
wondering if there is a way to call gnome.init without knowing where to 
search for the help info?

For example, yelp knows where to look, but it appears that I need to 
explicitly tell gnome to look in /usr/local/share:

 >>> import gnome
 >>> gnome.init('gramps', '0.0', properties =
                {'app-datadir': '/usr/local/share'})
 >>> gnome.help_display('gramps')

If I leave app-datadir out, it won't find it. I realize that if I put 
the help in /usr/share that it will work.

Is there some other way to tell it to "just look in the right places"?

Thanks for any hints,

-Doug


More information about the pygtk mailing list