Re: gnome2: calling gnome_help_display() fails
- From: Vladislav Grinchenko <vladg erols com>
- To: Rodrigo Moya <rodrigo gnome-db org>
- Cc: gnome-doc List <gnome-doc-list gnome org>, gnome-devel list <gnome-devel-list gnome org>, Gnomemm-list <gnomemm-list gnome org>
- Subject: Re: gnome2: calling gnome_help_display() fails
- Date: 26 Jan 2003 23:38:59 -0500
Rodrigo,
thanks for advice. I modified my Makefile.am to include defines below
and used GNOME_PROGRAM_STANDARD_PROPERTIES, with the same result - no
dice.
BTW, it doesn't look like I can pass GNOME_PROGRAM_STANDARD_PROPERTIES
to either of Gnome::Main () constructors. I went ahead and modified
libgnomemm's code to do so, but, again with no visible result.
Any other ideas to try?
On Sun, 2003-01-26 at 08:08, Rodrigo Moya wrote:
> On Sun, 2003-01-26 at 05:20, Vladislav Grinchenko wrote:
> > Hi,
> >
> > I've been struggling with this for about a week.
> > In my gnome2 (gnomemm2) application, call to gnome_help_display() fails
> > with:
> >
> > Gnome-WARNING **: gnome-program.c:986: Directory properties not set
> > correctly. Cannot locate application specific files.
> >
> when you call gnome_program_init, do it this way:
>
> gnome_program_init (app_id, version, LIBGNOMEUI_MODULE, nargs, args,
> GNOME_PROGRAM_STANDARD_PROPERTIES, NULL);
>
> this will add the need for adding some -D to the compilation command
> line, since GNOME_PROGRAM_STANDARD_PROPERTIES expects them to be
> defined. They are:
>
> -DPREFIX=\""$(prefix)"\" \
> -DSYSCONFDIR=\""$(sysconfdir)"\" \
> -DDATADIR=\""$(datadir)"\" \
> -DLIBDIR=\""$(libdir)"\"
>
> once you do this, gnome_help_display knows how to find the help file. At
> least, it did work for me.
>
> cheers
>
> _______________________________________________
> gnome-doc-list mailing list
> gnome-doc-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-doc-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]