[Glade-users] Glade 2.0.0 & Anjuta: Custom pixmaps
kainian xie
xxkn@hotmail.com
Fri, 05 Dec 2003 03:34:42 +0800
Here is my solution: Modify main.c
#if 0
add_pixmap_directory(PACKAGE_DATA_DIR "/" PACKAGE "/pixmaps");
#else
add_pixmap_directory(PACKAGE_PIXMAPS_DIR);
#endif
The reason is ANJUTA think the pixmaps directory be PACKAGE_PIXMAPS_DIR,for
example, which is /usr/local/share/pixmaps/helloworld, but GLADE think the
pixmaps directory is PACKAGE_DATA_DIR "/" PACKAGE "/pixmaps, which is
/usr/local/share/helloworld/helloworld/pixmaps.
_________________________________________________________________
享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com