discomfitor pushed a commit to branch master.

commit 711f91f1f62087da830b9d2c60304498ab507f7e
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Apr 19 09:40:42 2013 +0100

    add name to notification content objects+mirrors
---
 src/modules/notification/e_mod_popup.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/modules/notification/e_mod_popup.c 
b/src/modules/notification/e_mod_popup.c
index 8e88f13..c544c69 100644
--- a/src/modules/notification/e_mod_popup.c
+++ b/src/modules/notification/e_mod_popup.c
@@ -228,6 +228,7 @@ _notification_popup_new(E_Notification_Notify *n, unsigned 
id)
    snprintf(buf, sizeof(buf), "%s/e-module-notification.edj",
             notification_mod->dir);
    popup->theme = edje_object_add(popup->e);
+   evas_object_name_set(popup->theme, "notification");
 
    if (!e_theme_edje_object_set(popup->theme,
                                 "base/theme/modules/notification",
@@ -262,6 +263,7 @@ _notification_popup_new(E_Notification_Notify *n, unsigned 
id)
 
              if (zone == popup->win->zone) continue;
              o = e_comp_win_image_mirror_add(popup->win->cw);
+             evas_object_name_set(o, "notification_mirror");
              evas_object_data_set(o, "zone", zone);
              evas_object_resize(o, popup->win->w, popup->win->h);
              _notification_popup_place_coords_get(zone->w, zone->h, 
popup->win->w, popup->win->h, pos, &x, &y);

-- 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

Reply via email to