bu5hm4n pushed a commit to branch master.

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

commit 21f208f48fade5662037f4b90a237639269a2a97
Author: Marcel Hollerbach <marcel.hollerb...@stzedn.de>
Date:   Wed Apr 2 16:20:40 2014 +0200

    entrance: Select the correct Background for the user
---
 src/bin/entrance_conf_user.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/bin/entrance_conf_user.c b/src/bin/entrance_conf_user.c
index 6cc4553..192d44e 100644
--- a/src/bin/entrance_conf_user.c
+++ b/src/bin/entrance_conf_user.c
@@ -60,7 +60,8 @@ _entrance_conf_user_bg_fill_cb(void *data, Elm_Object_Item 
*it)
    const char *bg_path, *bg_group;
    cbg = data;
 
-   entrance_gui_background_get(&bg_path, &bg_group);
+   bg_path = _entrance_int_conf_user->bg.path;
+   bg_group = _entrance_int_conf_user->bg.group;
    if (((cbg->path) && (bg_path)
          && (!strcmp(cbg->path, bg_path))) ||
        ((!cbg->path) && (!bg_path)))
@@ -312,8 +313,8 @@ _entrance_conf_user_build_cb(Evas_Object *t, Entrance_Login 
*eu)
                  _entrance_conf_user_icon_sel, o);
 
    entrance_fill(gl, entrance_conf_background_fill_get(),
-                 l, _entrance_conf_user_bg_fill_cb,
-                 _entrance_conf_user_bg_sel, o);
+                 l, _entrance_conf_user_icon_fill_cb,
+                 _entrance_conf_user_icon_sel, o);
 
    LIST_FILL(entrance_gui_icon_pool_get());
    LIST_FILL(entrance_gui_theme_icons());

-- 


Reply via email to