Re: gnome pixmaps



On Thu, 2002-02-07 at 19:25, Lovison Sara - MEDICO Spa wrote:
> 
> Hello,
> 
> I'm new with Linux and Gnome.
> I made a small application with a custom icon (xpm file) on a button.
> I compiled it and all works fine. No warning or error message.
> But when I run it I can't see my icon and appears a warning:
> "Couldn't find pixmap file: /myproject/myicon.xpm".
> I know that the problem is in the gnome_pixmap_file() call that I use to create pixmap from file.
> The function gnome_pixmap_file looks for file in /usr/share/pixmaps/myproject,
> but when I do 'make install' the file is installed in /usr/local/share/pixmaps/myproject.

Your using autoconf/automake yeh? does reconfiguring as

./configure --prefix=/usr
make
make install

(will install it under /usr instead of /usr/local)

work?

Kind Regards
Crispin




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