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.
This commit is contained in:
Carsten Haitzler 2021-04-06 17:15:52 +01:00
parent f8721df53a
commit 5d08df0746
1 changed files with 10 additions and 2 deletions

View File

@ -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);