forked from enlightenment/enlightenment
Only set the icon theme in elm on change
Avoid forcing config changes when they're not needed
This commit is contained in:
parent
a6d4bebd1e
commit
bcefcdf50c
|
@ -160,7 +160,8 @@ _basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
|
||||||
e_config_save_queue();
|
e_config_save_queue();
|
||||||
|
|
||||||
#ifdef EFL_VERSION_1_18
|
#ifdef EFL_VERSION_1_18
|
||||||
if (cfdata->match_e17_icon_theme)
|
if (cfdata->match_e17_icon_theme &&
|
||||||
|
strcmp(e_config->icon_theme, elm_config_icon_theme_get()))
|
||||||
{
|
{
|
||||||
elm_config_icon_theme_set(e_config->icon_theme);
|
elm_config_icon_theme_set(e_config->icon_theme);
|
||||||
elm_config_all_flush();
|
elm_config_all_flush();
|
||||||
|
|
Loading…
Reference in New Issue