[Glade-users] Location of icons in a glade project

Just so everyone knows. This turned out to be a bug in anjuta. It is not
setting GNOME_PARAM_APP_DATADIR when calling gnome_program_init(), which
the Glade code needs to find the pixmaps.


On Wed, 2004-03-17 at 23:44, fmouse-glade fmp com wrote:
If I generate a gnome2 project, let's call it foo, using an icon, glade
generates an interfaces.c file with a relative location for icon set in the

window1_icon_pixbuf = create_pixbuf ("foo/foo_icon.png");

This is a relative path, but relative to what?  After installation, the icon
is installed in <prefix>/share/pixmaps/foo, but when I run, the program from
the cmd line, I get a complaint:

** (foo:18508): WARNING **: Couldn't find pixmap file: foo/foo_icon.png

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