From 5d08df074613f1d9c6246117d0094db5169f8669 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Tue, 6 Apr 2021 17:15:52 +0100 Subject: [PATCH] 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);