bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/misc/entrance.git/commit/?id=ef7bc14bcbdaa2707b4c4155ce43b0cad8bfdd76

commit ef7bc14bcbdaa2707b4c4155ce43b0cad8bfdd76
Author: Marcel Hollerbach <marcel-hollerb...@t-online.de>
Date:   Sun May 25 11:31:23 2014 +0200

    entrance: set the theme name without entrance_conf_set
---
 src/bin/entrance_conf_theme.c | 2 +-
 src/bin/entrance_gui.c        | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/bin/entrance_conf_theme.c b/src/bin/entrance_conf_theme.c
index bc01263..7193911 100644
--- a/src/bin/entrance_conf_theme.c
+++ b/src/bin/entrance_conf_theme.c
@@ -176,7 +176,7 @@ _entrance_conf_theme_apply(void)
    entrance_gui_background_get(&conf.bg.path, &conf.bg.group);
 
    entrance_connect_conf_gui_send(&conf);
-   entrance_gui_conf_set(&conf);
+   entrance_gui_theme_name_set(conf.theme);
    entrance_conf_changed();
 }
 
diff --git a/src/bin/entrance_gui.c b/src/bin/entrance_gui.c
index d808903..60c76ef 100644
--- a/src/bin/entrance_gui.c
+++ b/src/bin/entrance_gui.c
@@ -525,10 +525,6 @@ entrance_gui_conf_set(const Entrance_Conf_Gui_Event *conf)
         _gui->vkbd_enabled = conf->vkbd_enabled;
         _gui->changed &= ENTRANCE_CONF_VKBD;
      }
-   if (_gui->theme != conf->theme)
-     {
-       entrance_gui_theme_name_set(conf->theme);
-     }
    _gui->changed = ~(ENTRANCE_CONF_NONE);
    _entrance_gui_update();
 }

-- 


Reply via email to