From 90b1bf63b739a059c6b5260d8f66f11f854750f4 Mon Sep 17 00:00:00 2001 From: Andy Williams Date: Tue, 26 Apr 2016 00:17:30 +0100 Subject: [PATCH] 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. --- src/modules/conf_theme/e_int_config_xsettings.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/modules/conf_theme/e_int_config_xsettings.c b/src/modules/conf_theme/e_int_config_xsettings.c index e3c46f86f..f49adc9bc 100644 --- a/src/modules/conf_theme/e_int_config_xsettings.c +++ b/src/modules/conf_theme/e_int_config_xsettings.c @@ -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);