Enlightenment CVS committal

Author  : rbdpngn
Project : misc
Module  : elapse

Dir     : misc/elapse/src


Modified Files:
        Elapse.h gui.c main.c 
Added Files:
        .cvsignore Makefile.am 


Log Message:
Add build system and an edc.

===================================================================
RCS file: /cvsroot/enlightenment/misc/elapse/src/Elapse.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Elapse.h    9 Apr 2004 20:14:23 -0000       1.1
+++ Elapse.h    16 Apr 2004 18:09:49 -0000      1.2
@@ -10,7 +10,9 @@
 #include <time.h>
 
 #define DEBUG_LEVEL 5
+#ifndef PATH_MAX
 #define PATH_MAX    255        
+#endif
 
 #define DEBUG_FUCKED   1       /* Your Fucked */
 #define DEBUG_ERROR    2       /* Recoverable Error */
===================================================================
RCS file: /cvsroot/enlightenment/misc/elapse/src/gui.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- gui.c       9 Apr 2004 20:14:23 -0000       1.1
+++ gui.c       16 Apr 2004 18:09:49 -0000      1.2
@@ -16,9 +16,7 @@
        ecore_evas_borderless_set(elapse->ee, 0);
        
        elapse->evas = ecore_evas_get(elapse->ee);
-       evas_font_path_append(elapse->evas, 
-                       "/usr/local/share/edje/data/test/fonts");
-       
+
        debug(DEBUG_INFO, elapse, "esmart_trans_x11_new()");
        elapse->smart = esmart_trans_x11_new(elapse->evas);
        evas_object_move(elapse->smart, 0, 0);
===================================================================
RCS file: /cvsroot/enlightenment/misc/elapse/src/main.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- main.c      9 Apr 2004 20:14:23 -0000       1.1
+++ main.c      16 Apr 2004 18:09:49 -0000      1.2
@@ -1,4 +1,5 @@
 #include "Elapse.h"
+#include "config.h"
 
 int main(int argc, char *argv[])
 {
@@ -7,8 +8,8 @@
 
        elapse.conf.sticky = 1;
        elapse.conf.lower = 1;
-       strncpy(elapse.conf.theme, 
-               "/usr/local/share/elapse/themes/elapse.eet", PATH_MAX);
+       strncpy(elapse.conf.theme, PACKAGE_DATA_DIR "/themes/elapse.eet",
+                       PATH_MAX);
        elapse.conf.debug = DEBUG_LEVEL;
        elapse.conf.format = NULL;
 




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to