ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=90b1bf63b739a059c6b5260d8f66f11f854750f4

commit 90b1bf63b739a059c6b5260d8f66f11f854750f4
Author: Andy Williams <a...@andywilliams.me>
Date:   Tue Apr 26 00:17:30 2016 +0100

    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 e3c46f8..f49adc9 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);

-- 


Reply via email to