use direct path for setting icons in util theme set function when icon is a path
fix T1888
This commit is contained in:
parent
86654c86f8
commit
7b53d6b19c
|
@ -288,6 +288,10 @@ _e_util_icon_fdo_set(Evas_Object *obj, const char *icon)
|
||||||
EAPI int
|
EAPI int
|
||||||
e_util_icon_theme_set(Evas_Object *obj, const char *icon)
|
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_config->icon_theme_overrides)
|
||||||
{
|
{
|
||||||
if (_e_util_icon_fdo_set(obj, icon))
|
if (_e_util_icon_fdo_set(obj, icon))
|
||||||
|
|
Loading…
Reference in New Issue