Re: pixmaps
- From: Paul Davis <pbd op net>
- To: Monserrat Seisdedos Nu ez <mseisdedos cirsa com>
- Cc: "gtk (E-mail)" <gtk-list gnome org>
- Subject: Re: pixmaps
- Date: Mon, 29 Apr 2002 18:41:34 -0400
>I run configure with the --prefix=/path_project_directory, but it try to
>copy all the pixmaps under the /usr/local/share/pixmaps directory where a
>normal user doesn't have write permissions, so what i do is switching to the
>root user and make install.
> I would like the executable to look for the icons somewhere under the
>project_directory 
>I tried with the DESTDIR varible as well, but it didn't work. 
>
>can anybody tell me how can i tell my app where to look for the icons??? 
     char *dir = getenv ("MYAPP_PIXMAP_DIR");
     if (dir == NULL) {
          dir = default_pixmap_dir;
     }
     ....
--p
- References:
- pixmaps
- From: Monserrat Seisdedos Nuñez
 
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]