[Glade-users] Glade 2.0.0 & Anjuta: Custom pixmaps



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  





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