forked from enlightenment/enlightenment
* Also load icons from a given full path, not only by the theme-name.
This fix some (not showed) icons, expecially with the configmenu module. SVN revision: 41177
This commit is contained in:
parent
3481e3e5ae
commit
6efe302d22
|
@ -443,6 +443,11 @@ e_util_menu_item_edje_icon_set(E_Menu_Item *mi, const char *name)
|
|||
char buf[4096];
|
||||
|
||||
if ((!name) || (!name[0])) return 0;
|
||||
if (name[0]=='/' && ecore_file_exists(name))
|
||||
{
|
||||
e_menu_item_icon_edje_set(mi, name, "icon");
|
||||
return 1;
|
||||
}
|
||||
snprintf(buf, sizeof(buf), "e/icons/%s", name);
|
||||
file = e_theme_edje_file_get("base/theme/icons", buf);
|
||||
if (file[0])
|
||||
|
|
Loading…
Reference in New Issue