Re: python: gnome.help_display()
- From: "Nickolay V. Shmyrev" <nshmyrev yandex ru>
- To: Gaute Hope <eg gaute vetsj com>
- Cc: gnome-devel-list gnome org
- Subject: Re: python: gnome.help_display()
- Date: Fri, 16 Dec 2005 01:06:00 +0300
В Чтв, 15/12/2005 в 12:24 +0000, Gaute Hope пишет:
> Hello
>
> I've been searching around a bit, and I can see that something similar
> has been discussed before. Anyway this is a little different.
>
> Im working on gnome-schedule, a GUI to edit a users crontab and at jobs.
> And we are almost ready for 1.0 release. This is one of the last bugs
> remaining; http://bugzilla.gnome.org/show_bug.cgi?id=324141 .
>
> The problem is that yelp doesn't find the documentation when it is
> installed in a prefix other than /usr or /usr/local.
>
> The application has been initialized with:
> props = { gnome.PARAM_APP_DATADIR : config.getPrefix() + "share/" }
> pr = gnome.program_init ("gnome-schedule", config.getVersion(),
> properties=props)
>
> And i try to load the help with the following code:
> #open help
> def on_manual_menu_activate (self, *args):
> gnome.help_display('gnome-schedule')
>
> Does anyone has any suggestions?
>
> Some other references:
> http://permalink.gmane.org/gmane.comp.gnome.gtk%2B.python/6625
>
> - gaute
> _______________________________________________
Strange, but I can't reproduce this bug with gnome-python 2.10 and gnome
2.10. It may be newer libraries problem or something like this.
Of course, it's always better just to debug your program. Run
strace -f gnome-schedule >& strace.log
Then you can find what directories are searched for the help file and
what is actually missing.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]