Enlightenment CVS committal

Author  : dphase
Project : misc
Module  : retina

Dir     : misc/retina/src


Modified Files:
        r_gui.c r_img.c retina.c retina.h 


Log Message:
use config.h to know where to load from

===================================================================
RCS file: /cvsroot/enlightenment/misc/retina/src/r_gui.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- r_gui.c     21 Dec 2004 04:55:53 -0000      1.1
+++ r_gui.c     21 Dec 2004 05:04:06 -0000      1.2
@@ -38,7 +38,7 @@
 
        /* help image */
        retina_help_img = evas_object_image_add(retina_evas);
-       evas_object_image_file_set(retina_help_img, PREFIX 
"images/retina_help.png", NULL);
+       evas_object_image_file_set(retina_help_img, PACKAGE_DATA_DIR 
"/images/retina_help.png", NULL);
        evas_object_image_size_get(retina_help_img, &w, &h);
        evas_object_image_fill_set(retina_help_img, 0, 0, w, h);
        evas_object_resize(retina_help_img, w, h);
===================================================================
RCS file: /cvsroot/enlightenment/misc/retina/src/r_img.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- r_img.c     21 Dec 2004 04:55:53 -0000      1.1
+++ r_img.c     21 Dec 2004 05:04:06 -0000      1.2
@@ -81,7 +81,7 @@
        int w, h;
        
        retina_bg = evas_object_image_add(retina_evas);
-       evas_object_image_file_set(retina_bg, PREFIX "images/checks.png", NULL);
+       evas_object_image_file_set(retina_bg, PACKAGE_DATA_DIR 
"/images/checks.png", NULL);
        evas_object_move(retina_bg, 0, 0);
        evas_object_image_size_get(retina_bg, &w, &h);
        evas_object_image_fill_set(retina_bg, 0, 0, w, h);
===================================================================
RCS file: /cvsroot/enlightenment/misc/retina/src/retina.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- retina.c    21 Dec 2004 04:55:53 -0000      1.10
+++ retina.c    21 Dec 2004 05:04:06 -0000      1.11
@@ -31,7 +31,7 @@
                cur_sel = 0;
                retina_img_load(retina_image_list[0]);
        } else {
-               retina_img_load(PREFIX"images/retina.png");
+               retina_img_load(PACKAGE_DATA_DIR "/images/retina.png");
        }
 
        /* everything should be done, attach callbacks */
===================================================================
RCS file: /cvsroot/enlightenment/misc/retina/src/retina.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- retina.h    21 Dec 2004 04:55:53 -0000      1.11
+++ retina.h    21 Dec 2004 05:04:06 -0000      1.12
@@ -11,7 +11,7 @@
 
 #include <Imlib2.h>
 
-#define PREFIX "/usr/local/share/retina/"
+#include "../config.h"
 
 /* global variables */
 Ecore_Evas *retina_win;




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to