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



Check the pixmap files were installed, probably into somewhere like:
 /usr/local/share/pixmaps/project33

Does it output "WARNING **: Couldn't find pixmap file" when you run it?

I've just tested it in a fresh project and it still doesn't work. My
pixmaps are imported into the pixmaps directory and when I "make
install" they get copied into PREFIX/share/pixmaps/bluephone but when I
run the program I get the following errors:
 
(bluephone:8422): Gnome-WARNING **: gnome-program.c:986: Directory
properties not set correctly.  Cannot locate application specific files.
 
** (bluephone:8422): WARNING **: Couldn't find pixmap file:
bluephone/logo.png
 
(bluephone:8422): Gnome-WARNING **: gnome-program.c:986: Directory
properties not set correctly.  Cannot locate application specific files.
 
** (bluephone:8422): WARNING **: Couldn't find pixmap file:
bluephone/icon.png

I've tried installing to the default --prefix=/usr/local and
--prefix=/usr (where gnome and everything else lives on my system) to no
avail.

config.h (prefix=/usr) defines the following:

#define PACKAGE_LOCALE_DIR "/usr/share/locale"
#define PACKAGE_DOC_DIR "/usr/doc/bluephone"
#define PACKAGE_DATA_DIR "/usr/share/bluephone"
#define PACKAGE_PIXMAPS_DIR "/usr/share/pixmaps/bluephone"
#define PACKAGE_HELP_DIR "/usr/share/gnome/help/bluephone"
#define PACKAGE_MENU_DIR "/usr/share/gnome/apps"
#define PACKAGE_SOURCE_DIR "/home/er241/Projects/bluephone"

Check src/interface.c has code like:
  about1_logo_pixbuf = create_pixbuf ("project33/calendar.xpm");

In interfaces.c:

about_logo_pixbuf = create_pixbuf ("bluephone/logo.png");

Can anyone offer any further suggestions?

Ed

On Mon, 2003-11-24 at 15:06, Damon Chaplin wrote:
On Mon, 2003-11-24 at 14:36, Ed Rayne wrote:
I am having a problem modifying the About box in my Anjuta/Glade
project. I specify a custom pixmap from my pixmap directory to be the
window icon and program logo. However, when I compile and install the
program it doesn't locate the pixmap. Can anyone help me? I've seen
references to add_pixmap_directory but this doesn't seem to be in my
support.h.

I've just tried it and it worked fine for me.

Does it output "WARNING **: Couldn't find pixmap file" when you run it?


Check the pixmap files were installed, probably into somewhere like:
  /usr/local/share/pixmaps/project33

Check src/interface.c has code like:
  about1_logo_pixbuf = create_pixbuf ("project33/calendar.xpm");
 
Damon







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