Enlightenment CVS committal Author : englebass Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_fm_main.c e_thumb_main.c Log Message: Remove old code. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_fm_main.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- e_fm_main.c 13 Mar 2007 16:34:37 -0000 1.3 +++ e_fm_main.c 24 Mar 2007 09:38:46 -0000 1.4 @@ -23,7 +23,6 @@ #include <Ecore_Evas.h> #include <Ecore_Ipc.h> #include <Ecore_File.h> -#include <Ecore_Desktop.h> #include <Evas.h> #include <Eet.h> #include <Edje.h> =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_thumb_main.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -3 -r1.23 -r1.24 --- e_thumb_main.c 2 Mar 2007 17:00:20 -0000 1.23 +++ e_thumb_main.c 24 Mar 2007 09:38:46 -0000 1.24 @@ -9,7 +9,6 @@ #include <Ecore_Evas.h> #include <Ecore_Ipc.h> #include <Ecore_File.h> -#include <Ecore_Desktop.h> #include <Evas.h> #include <Eet.h> #include <Edje.h> @@ -291,42 +290,6 @@ alpha = 1; ext = strrchr(eth->file, '.'); -/* DON'T need this - shoudl just be using the icon set for the .desktop file - * directly with no thumbnailing - if ((ext) && ((!strcasecmp(ext, ".desktop")) || (!strcasecmp(ext, ".directory"))) ) - { - Ecore_Desktop *desktop; - - desktop = ecore_desktop_get(eth->file, NULL); - free(eth->file); - eth->file = NULL; - if (desktop) - { - if (desktop->icon_path) - eth->file = strdup(desktop->icon_path); - else - eth->file = (char *)ecore_desktop_icon_find(desktop->icon_class, NULL, eth->key); - free(eth->key); - eth->key = NULL; - if (eth->file) - { - ext = strrchr(eth->file, '.'); - if ((ext) && - ((!strcasecmp(ext, ".edj")) || - (!strcasecmp(ext, ".eap"))) - ) - { - eth->key = strdup("icon"); - } - } - else - { - return; - } - } - } -*/ - if ((ext) && (eth->key) && ((!strcasecmp(ext, ".edj")) || (!strcasecmp(ext, ".eap"))) ------------------------------------------------------------------------- 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