make notifications fade appropriately

fix T1362
This commit is contained in:
Mike Blumenkrantz 2014-06-25 13:37:07 -04:00
parent 2047075b66
commit b0cd7dbea5
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,6 @@ _notification_popup_new(E_Notification_Notify *n, unsigned id)
snprintf(buf, sizeof(buf), "%s/e-module-notification.edj", snprintf(buf, sizeof(buf), "%s/e-module-notification.edj",
notification_mod->dir); notification_mod->dir);
popup->theme = edje_object_add(popup->e); popup->theme = edje_object_add(popup->e);
evas_object_name_set(popup->theme, "noshadow_notification");
e_theme_edje_object_set(popup->theme, e_theme_edje_object_set(popup->theme,
"base/theme/modules/notification", "base/theme/modules/notification",
@ -239,6 +238,7 @@ _notification_popup_new(E_Notification_Notify *n, unsigned id)
/* Create the popup window */ /* Create the popup window */
popup->win = e_comp_object_util_add(popup->theme, E_COMP_OBJECT_TYPE_POPUP); popup->win = e_comp_object_util_add(popup->theme, E_COMP_OBJECT_TYPE_POPUP);
edje_object_signal_emit(popup->win, "e,state,shadow,off", "e");
evas_object_layer_set(popup->win, E_LAYER_POPUP); evas_object_layer_set(popup->win, E_LAYER_POPUP);
evas_object_event_callback_add(popup->win, EVAS_CALLBACK_DEL, _notification_popup_del_cb, popup); evas_object_event_callback_add(popup->win, EVAS_CALLBACK_DEL, _notification_popup_del_cb, popup);