Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_icon_theme.c ewl_misc.c ewl_private.h 


Log Message:
- switch to efreet. 
  - untested as I don't have any icon themes on this machine

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_icon_theme.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- ewl_icon_theme.c    25 Mar 2007 04:57:09 -0000      1.19
+++ ewl_icon_theme.c    26 Mar 2007 00:57:28 -0000      1.20
@@ -147,7 +147,7 @@
        ret = ecore_hash_get(cache, key);
        if (!ret)
        {
-               ret = ecore_desktop_icon_find(icon, size, theme);
+               ret = efreet_icon_path_find(theme, icon, size);
                if (!ret) ret = EWL_THEME_KEY_NOMATCH;
 
                ecore_hash_set(cache, strdup(key), ret);
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_misc.c,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -3 -r1.90 -r1.91
--- ewl_misc.c  25 Mar 2007 05:11:44 -0000      1.90
+++ ewl_misc.c  26 Mar 2007 00:57:28 -0000      1.91
@@ -165,11 +165,11 @@
        }
        ecore_list_prepend(shutdown_queue, ecore_shutdown);
 
-       if (!ecore_desktop_init()) {
-               fprintf(stderr, "Could not initialize Ecore Desktop.\n");
+       if (!efreet_init()) {
+               fprintf(stderr, "Could not initialize Efreet.\n");
                goto ERROR;
        }
-       ecore_list_prepend(shutdown_queue, ecore_desktop_shutdown);
+       ecore_list_prepend(shutdown_queue, efreet_shutdown);
 
        if (!ecore_string_init()) {
                fprintf(stderr, "Could not initialize Ecore Strings.\n");
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_private.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- ewl_private.h       12 Feb 2007 13:16:05 -0000      1.17
+++ ewl_private.h       26 Mar 2007 00:57:28 -0000      1.18
@@ -6,7 +6,7 @@
 #include <Edje.h>
 #include <Ecore_Str.h>
 #include <Ecore_File.h>
-#include <Ecore_Desktop.h>
+#include <Efreet.h>
 
 #include <stdio.h>
 #include <stdlib.h>



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to