Re: [gnome-love] gnome_app_create_toolbar() - finding pixmaps
- From: Bastien Nocera <hadess hadess net>
- To: sjh ucf ics uci edu
- Cc: gnome-love gnome org
- Subject: Re: [gnome-love] gnome_app_create_toolbar() - finding pixmaps
- Date: 10 Dec 2001 16:51:53 +0000
On Fri, 2001-12-07 at 03:42, Seth Hettich wrote:
I want to keep the pixmaps for my app in it's own $prefix. But
even when I use GNOME_APP_PIXMAP_FILE in my gnomeUIInfo and
give an absolute path it looks in the gnome $prefix
How can I have my icons where I want them?
add something like that to the INCLUDES for your application
-DW500_IMAGES=\""$(datadir)/walk500/"\"
and you would use it with a small helper function:
gchar *pixmap_full_from_filename(const gchar* fname)
{
return g_strconcat(W500_IMAGES, fname);
}
Voila
--
/Bastien Nocera
http://hadess.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]