Set the fdo theme to Elementary as well

If the user has specified that applications should
have the same icons then push the value to elm's
new icon lookup configuration.
This commit is contained in:
Andy Williams 2016-04-26 00:17:30 +01:00
parent 677adbbc2e
commit 90b1bf63b7
1 changed files with 8 additions and 0 deletions

View File

@ -159,6 +159,14 @@ _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();
#ifdef EFL_VERSION_1_18
if (cfdata->match_e17_icon_theme)
{
elm_config_icon_theme_set(e_config->icon_theme);
elm_config_all_flush();
elm_config_save();
}
#endif
e_util_env_set("E_ICON_THEME", e_config->icon_theme);
ev = E_NEW(E_Event_Config_Icon_Theme, 1);