cedric pushed a commit to branch enlightenment-0.17.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=5a943358ec708e881e31363e489d3421e146b071

commit 5a943358ec708e881e31363e489d3421e146b071
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Wed Jun 25 13:26:18 2014 -0400

    remove notification theme fallback
    
    this will never fail since the default theme provides it
---
 src/modules/notification/e_mod_popup.c | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/src/modules/notification/e_mod_popup.c 
b/src/modules/notification/e_mod_popup.c
index 5b3c184..fd55cfe 100644
--- a/src/modules/notification/e_mod_popup.c
+++ b/src/modules/notification/e_mod_popup.c
@@ -296,13 +296,9 @@ _notification_popup_new(E_Notification *n)
             notification_mod->dir);
    popup->theme = edje_object_add(popup->e);
 
-   if (!e_theme_edje_object_set(popup->theme,
-                                "base/theme/modules/notification",
-                                "e/modules/notification/main"))
-     if (!e_theme_edje_object_set(popup->theme,
-                                  "base/theme/modules/notification",
-                                  "modules/notification/main"))
-       edje_object_file_set(popup->theme, buf, "modules/notification/main");
+   e_theme_edje_object_set(popup->theme,
+                           "base/theme/modules/notification",
+                           "e/modules/notification/main");
 
    e_popup_edje_bg_object_set(popup->win, popup->theme);
 

-- 


Reply via email to