discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=2047075b66751ccef7cb2234e338f6acb93810e3

commit 2047075b66751ccef7cb2234e338f6acb93810e3
Author: Mike Blumenkrantz <[email protected]>
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 3e2ce06..eb896f0 100644
--- a/src/modules/notification/e_mod_popup.c
+++ b/src/modules/notification/e_mod_popup.c
@@ -233,13 +233,9 @@ _notification_popup_new(E_Notification_Notify *n, unsigned 
id)
    popup->theme = edje_object_add(popup->e);
    evas_object_name_set(popup->theme, "noshadow_notification");
 
-   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");
 
    /* Create the popup window */
    popup->win = e_comp_object_util_add(popup->theme, E_COMP_OBJECT_TYPE_POPUP);

-- 


Reply via email to