add name to notification content objects+mirrors
authorMike Blumenkrantz <m.blumenkran@samsung.com>
Fri, 19 Apr 2013 08:40:42 +0000 (09:40 +0100)
committerMike Blumenkrantz <m.blumenkran@samsung.com>
Fri, 19 Apr 2013 08:41:21 +0000 (09:41 +0100)
src/modules/notification/e_mod_popup.c

index 8e88f13..c544c69 100644 (file)
@@ -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);