loading pixmaps from the C source

2008-10-22 Thread Henri Häkkinen
Hello, I am writing a simple GTK+ 2.0 application which uses the GNU build system. The application opens a status icon on the system tray area and the icon is loaded from a image file. By default, the icon gets installed to the usual location (/usr/local/$PACKAGE/pixmaps), but the user may choose

Re: loading pixmaps from the C source

2008-10-22 Thread John Coppens
On Wed, 22 Oct 2008 18:13:41 +0300 Henri Häkkinen [EMAIL PROTECTED] wrote: I am writing a simple GTK+ 2.0 application which uses the GNU build system. The application opens a status icon on the system tray area and the icon is loaded from a image file. By default, the icon gets installed to

Re: loading pixmaps from the C source

2008-10-22 Thread Vivien Malerba
2008/10/22 Henri Häkkinen [EMAIL PROTECTED] Hello, I am writing a simple GTK+ 2.0 application which uses the GNU build system. The application opens a status icon on the system tray area and the icon is loaded from a image file. By default, the icon gets installed to the usual location

Re: loading pixmaps from the C source

2008-10-22 Thread Leandro Pereira
On Wed, Oct 22, 2008 at 1:13 PM, Henri Häkkinen [EMAIL PROTECTED] wrote: What is the correct way of opening image files from the C source then? How do I know where the look for the installed data files? If the pixmap is small, consider using gdk-pixbuf-csource and embedding it into your