Re: [gnome-love] gnome_app_create_toolbar() - finding pixmaps
- From: Seth Hettich <sjh whiskey ucf ics uci edu>
- To: gnome-love gnome org
- Subject: Re: [gnome-love] gnome_app_create_toolbar() - finding pixmaps
- Date: Tue, 11 Dec 2001 11:49:53 -0800
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
Nope. Like I said, I tried a full path and GNOME_APP_PIXMAP_FILE.
It prepends the gnome install dir.
-Seth
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]