Only set the icon theme in elm on change

Avoid forcing config changes when they're not needed
This commit is contained in:
Andy Williams 2016-04-26 22:55:16 +01:00
parent a6d4bebd1e
commit bcefcdf50c
1 changed files with 2 additions and 1 deletions

View File

@ -160,7 +160,8 @@ _basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
e_config_save_queue();
#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_all_flush();