Subject: erratic gdk_imlib on pure GTK apps
To: None <tech-pkg@netbsd.org>
From: Arto Huusko <arto.huusko@utu.fi>
List: tech-pkg
Date: 01/18/2002 16:23:47
Hi,

I have an annoying problem with gdk_imlib on pure GTK+ applications (i.e.
*not* GNOME apps): when using themes that use pixmaps for buttons etc.
I get error messages looking like the following:

gdk_imlib ERROR: Cannot load image:
/usr/X11R6/share/themes/Eazel-blue/gtk/arrow_down.png
All fallbacks failed.

Also, the error messages (or the images that fail to be loaded) are not
consistent. Below, transcript from starting a GTK+ application three
times, and doing the exact same things in the app. (Click one button
to open new window, select menu item to quit program):

lady:/usr/home/arto/Divecalc-NG/build/unix % ./divecalc-gtk
gdk_imlib ERROR: Cannot load image:
/usr/X11R6/share/themes/Eazel-blue/gtk/textbackground.png
All fallbacks failed.
gdk_imlib ERROR: Cannot load image:
/usr/X11R6/share/themes/Eazel-blue/gtk/textshadow.png
All fallbacks failed.
gdk_imlib ERROR: Cannot load image:
/usr/X11R6/share/themes/Eazel-blue/gtk/scrollbar_thumb_vert.png
All fallbacks failed.

lady:/usr/home/arto/Divecalc-NG/build/unix % ./divecalc-gtk
gdk_imlib ERROR: Cannot load image:
/usr/X11R6/share/themes/Eazel-blue/gtk/arrow_down.png
All fallbacks failed.
gdk_imlib ERROR: Cannot load image:
/usr/X11R6/share/themes/Eazel-blue/gtk/button-dark.png
All fallbacks failed.
gdk_imlib ERROR: Cannot load image:
/usr/X11R6/share/themes/Eazel-blue/gtk/menu_pixmap.png
All fallbacks failed.

lady:/usr/home/arto/Divecalc-NG/build/unix % ./divecalc-gtk
gdk_imlib ERROR: Cannot load image:
/usr/X11R6/share/themes/Eazel-blue/gtk/textshadow.png
All fallbacks failed.
gdk_imlib ERROR: Cannot load image:
/usr/X11R6/share/themes/Eazel-blue/gtk/hline.png
All fallbacks failed.
gdk_imlib ERROR: Cannot load image:
/usr/X11R6/share/themes/Eazel-blue/gtk/menu_pixmap.png
All fallbacks failed.


Different images each time. GNOME programs never produce error messages
like this.

I'd very much like to use sometimes those nicer looking themes, but
those error messages have kept me away always. (I've reported about
these eariler, about a year ago and a few times after that, but
never have received any response :(

Anyone know what's going on?

   -- Arto