use direct path for setting icons in util theme set function when icon is a path

fix T1888
This commit is contained in:
Mike Blumenkrantz 2015-02-18 16:11:45 -05:00
parent 86654c86f8
commit 7b53d6b19c
1 changed files with 4 additions and 0 deletions

View File

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