forked from enlightenment/efl
elementary: Don't force elm theme over fdo icons
Make sure we don't mmap icons if we're using external sources
This commit is contained in:
parent
e6d4c34449
commit
3d0eff2199
|
@ -358,6 +358,13 @@ _elm_theme_icon_set(Elm_Theme *th,
|
|||
char buf2[1024];
|
||||
int w, h;
|
||||
|
||||
if (eo_isa((o), ELM_ICON_CLASS) && elm_icon_standard_get(o) &&
|
||||
strcmp(elm_config_icon_theme_get(), ELM_CONFIG_ICON_THEME_ELEMENTARY))
|
||||
{
|
||||
elm_icon_standard_set(o, elm_icon_standard_get(o));
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
if (!th) th = &(theme_default);
|
||||
snprintf(buf2, sizeof(buf2), "elm/icon/%s/%s", group, style);
|
||||
file = _elm_theme_group_file_find(th, buf2);
|
||||
|
|
Loading…
Reference in New Issue