bu5hm4n pushed a commit to branch master.

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

commit 87a75c9f89aaba3609e366e6559896ab869c5102
Author: Marcel Hollerbach <marcel.hollerb...@stzedn.de>
Date:   Thu Mar 20 17:27:39 2014 +0100

    entrance: let the algorithem go on fallback if case 3 fails, dont print
    the info if nothing is set. Fallback there on default
---
 src/bin/entrance_gui.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/bin/entrance_gui.c b/src/bin/entrance_gui.c
index b1d7075..89cca1e 100755
--- a/src/bin/entrance_gui.c
+++ b/src/bin/entrance_gui.c
@@ -598,7 +598,7 @@ _entrance_gui_update(void)
                   if (eina_str_has_extension(_gui->bg.path,".edj"))
                     {
                        bg = elm_layout_add(screen->transition);
-                       elm_layout_file_set(bg, _gui->bg.path, 
"entrance/background/default");
+                       success = elm_layout_file_set(bg, _gui->bg.path, 
"entrance/background/default");
                     }
                   else
                     {
@@ -610,7 +610,8 @@ _entrance_gui_update(void)
                {
                   const char *path;
                   const char *group;
-                  PT("Failed to load new background, fallback on the theme 
default! \n");
+                  if ((!_gui->bg.group) || (!_gui->bg.path))
+                    PT("Failed to load new background, fallback on the theme 
default! \n");
                   bg = entrance_gui_theme_get(screen->transition,
                                               "entrance/background/default");
                   edje_object_file_get(elm_layout_edje_get(bg), &path, &group);

-- 


Reply via email to