Remove old code.

SVN revision: 28994
This commit is contained in:
Sebastian Dransfeld 2007-03-24 09:38:46 +00:00
parent f072a0b62d
commit 5dbae21510
2 changed files with 0 additions and 38 deletions

View File

@ -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>

View File

@ -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 @@ _e_thumb_generate(E_Thumb *eth)
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")))