raster pushed a commit to branch master.

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

commit 5d08df074613f1d9c6246117d0094db5169f8669
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Tue Apr 6 17:15:52 2021 +0100

    e theme icons config - force elm theme for elm icons as they match now
    
    yes - possibly need yet another config value for this, but at least
    for now force the elm internal icon theme so icons match.
---
 src/modules/conf_theme/e_int_config_xsettings.c | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/modules/conf_theme/e_int_config_xsettings.c 
b/src/modules/conf_theme/e_int_config_xsettings.c
index a5888548b..14128cda1 100644
--- a/src/modules/conf_theme/e_int_config_xsettings.c
+++ b/src/modules/conf_theme/e_int_config_xsettings.c
@@ -159,13 +159,21 @@ _basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata)
    e_config->xsettings.match_e17_icon_theme = cfdata->match_e17_icon_theme;
    e_config_save_queue();
 
-   if (cfdata->match_e17_icon_theme &&
-       strcmp(e_config->icon_theme, elm_config_icon_theme_get()))
+/*   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();
         elm_config_save();
      }
+   else */
+   if (//cfdata->match_e17_icon_theme &&
+       !!strcmp("_Elementary_Icon_Theme", elm_config_icon_theme_get()))
+     {
+        elm_config_icon_theme_set("_Elementary_Icon_Theme");
+        elm_config_all_flush();
+        elm_config_save();
+     }
    e_util_env_set("E_ICON_THEME", e_config->icon_theme);
 
    ev = E_NEW(E_Event_Config_Icon_Theme, 1);

-- 


Reply via email to