discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=7b53d6b19c01724d88688086ca6f7d3ab326697d

commit 7b53d6b19c01724d88688086ca6f7d3ab326697d
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Feb 18 16:11:45 2015 -0500

    use direct path for setting icons in util theme set function when icon is a 
path
    
    fix T1888
---
 src/bin/e_utils.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/bin/e_utils.c b/src/bin/e_utils.c
index d2c2b7e..da3612a 100644
--- a/src/bin/e_utils.c
+++ b/src/bin/e_utils.c
@@ -288,6 +288,10 @@ _e_util_icon_fdo_set(Evas_Object *obj, const char *icon)
 EAPI int
 e_util_icon_theme_set(Evas_Object *obj, const char *icon)
 {
+   if (icon && (icon[0] == '/'))
+     {
+        if (e_icon_file_set(obj, icon)) return 1;
+     }
    if (e_config->icon_theme_overrides)
      {
         if (_e_util_icon_fdo_set(obj, icon))

-- 


Reply via email to