Re: Problem with installation path



On Fri, 2007-08-31 at 12:37 +0200, Johannes Schmid wrote:
> Hi!
> 
> I have a question regarding this bug:
> http://bugzilla.gnome.org/show_bug.cgi?id=460766
> 
> The bug title is a bit irritating as anjuta simple search using
> gnome_help_display_with_doc_id(). Anyway, the documentation is build
> using gnome-doc-utils and the Makefile.am files show the following:
> 
> /manual/anjuta-manual/Makefile.am:
> DOC_MODULE = anjuta-manual # for the manual
> 
> /manual/anjuta-faq/Makefile.am:
> DOC_MODULE = anjuta-faq # for the faq
> 
> But they are installed like mentioned in the bug so that
> gnome_help_display_with_doc_id() does not find them.
> 
> Are those files installed in the wrong location or should we use
> gnome_help_* in a different way?

You call this:

  gnome_help_display_with_doc_id (NULL,
                                  "anjuta-manual",
                                  "anjuta-manual.xml",
                                  NULL, NULL);

My guess is that this is getting the program name from your
gnome_program_init in main.c, causing it to use the path:

  /usr/share/gnome/help/anjuta/C/anjuta-manual.xml

It really should be sufficient to just call:

  gnome_help_display ("anjuta-manual", NULL, NULL);

--
Shaun





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]