This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository enlightenment.
View the commit online.
commit b312bb3aa67c3f0fec997517d09de10654dc6389
Author: Carsten Haitzler <[email protected]>
AuthorDate: Sat Jun 18 10:09:40 2022 +0100
notifications - send signals for cateogry and urgency
---
src/modules/notification/e_mod_popup.c | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/src/modules/notification/e_mod_popup.c b/src/modules/notification/e_mod_popup.c
index 3bf02e49c..2782257a3 100644
--- a/src/modules/notification/e_mod_popup.c
+++ b/src/modules/notification/e_mod_popup.c
@@ -645,6 +645,21 @@ _notification_popup_refresh(Popup_Data *popup)
}
}
}
+
+ if (popup->notif->category)
+ {
+ char buf[1024];
+
+ snprintf(buf, sizeof(buf), "e,category,%s", popup->notif->category);
+ edje_object_signal_emit(popup->theme, buf, "e");
+ }
+ if (popup->notif->urgency == E_NOTIFICATION_NOTIFY_URGENCY_LOW)
+ edje_object_signal_emit(popup->theme, "e,urgency,low", "e");
+ else if (popup->notif->urgency == E_NOTIFICATION_NOTIFY_URGENCY_NORMAL)
+ edje_object_signal_emit(popup->theme, "e,urgency,normal", "e");
+ else if (popup->notif->urgency == E_NOTIFICATION_NOTIFY_URGENCY_CRITICAL)
+ edje_object_signal_emit(popup->theme, "e,urgency,critical", "e");
+
/* Fill up the event message */
_notification_format_message(popup);
@@ -674,8 +689,8 @@ _notification_popup_refresh(Popup_Data *popup)
elm_box_pack_end(popup->action_box, o);
evas_object_show(o);
}
-// evas_smart_objects_calculate(popup->e);
-// edje_message_signal_process();
+ evas_smart_objects_calculate(popup->e);
+ edje_message_signal_process();
evas_smart_objects_calculate(popup->e);
evas_object_size_hint_min_get(popup->action_box, &w, &h);
printf("NOT: actbox %ix%i\n", w, h);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.