ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=bcefcdf50c84b52364404e120091c938d39e8dae

commit bcefcdf50c84b52364404e120091c938d39e8dae
Author: Andy Williams <a...@andywilliams.me>
Date:   Tue Apr 26 22:55:16 2016 +0100

    Only set the icon theme in elm on change
    
    Avoid forcing config changes when they're not needed
---
 src/modules/conf_theme/e_int_config_xsettings.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/modules/conf_theme/e_int_config_xsettings.c 
b/src/modules/conf_theme/e_int_config_xsettings.c
index f49adc9..08f60c5 100644
--- a/src/modules/conf_theme/e_int_config_xsettings.c
+++ b/src/modules/conf_theme/e_int_config_xsettings.c
@@ -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();

-- 


Reply via email to