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.
devs/bu5hm4n/pointer-fix
Carsten Haitzler 2 years ago
parent f8721df53a
commit 5d08df0746
  1. 12
      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);

Loading…
Cancel
Save