From: Lars-Peter Clausen Date: Tue, 30 Jun 2009 07:26:17 +0000 (+0000) Subject: enlightenment: Argh... the patch file was accidentally emptied during commit. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d46caddbc140730af5d9bf62331ebebb97ca953a;p=openwrt%2Fsvn-archive%2Ffeeds.git enlightenment: Argh... the patch file was accidentally emptied during commit. SVN-Revision: 16634 --- 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) +