From d46caddbc140730af5d9bf62331ebebb97ca953a Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Tue, 30 Jun 2009 07:26:17 +0000 Subject: [PATCH] enlightenment: Argh... the patch file was accidentally emptied during commit. SVN-Revision: 16634 --- .../patches/020-lookup-desktop-icon.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/efl/enlightenment/patches/020-lookup-desktop-icon.patch b/efl/enlightenment/patches/020-lookup-desktop-icon.patch index e69de29..bdd2511 100644 --- a/efl/enlightenment/patches/020-lookup-desktop-icon.patch +++ b/efl/enlightenment/patches/020-lookup-desktop-icon.patch @@ -0,0 +1,22 @@ +diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c +index 644ff04..4e1075a 100644 +--- a/src/bin/e_fm.c ++++ b/src/bin/e_fm.c +@@ -4789,7 +4789,15 @@ _e_fm2_icon_desktop_load(E_Fm2_Icon *ic) + ic->info.label = eina_stringshare_add(desktop->name); + ic->info.generic = eina_stringshare_add(desktop->generic_name); + ic->info.comment = eina_stringshare_add(desktop->comment); +- ic->info.icon = eina_stringshare_add(desktop->icon); ++ ++ if (!desktop->icon || desktop->icon[0] == '/') ++ ic->info.icon = eina_stringshare_add(desktop->icon); ++ else { ++ const char *icon = efreet_icon_path_find(e_config->icon_theme, ++ desktop->icon, 32); ++ ic->info.icon = eina_string_share_add(icon); ++ free(icon); ++ } + if (desktop->url) + ic->info.link = _e_fm2_icon_desktop_url_eval(desktop->url); + if (desktop->x) + -- 2.30.2