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 2b095b67d17164309090be5dc44b383dd4cc93bc
Author: Carsten Haitzler <[email protected]>
AuthorDate: Sat Jun 18 12:21:00 2022 +0100
notification - play sound samples and advertise it in caps
---
src/modules/notification/e_mod_main.c | 7 ++++---
src/modules/notification/e_mod_popup.c | 9 +++++++++
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/src/modules/notification/e_mod_main.c b/src/modules/notification/e_mod_main.c
index ec3c9eb8c..fccaaf6b1 100644
--- a/src/modules/notification/e_mod_main.c
+++ b/src/modules/notification/e_mod_main.c
@@ -35,12 +35,13 @@ static const E_Notification_Server_Info server_info = {
.capabilities = {
"body", "body-markup",
"body-hyperlinks", "body-images",
- "actions", "action-icons",
+ "actions",
+// "action-icons",
// "icon-multi",
// or
-// "icon-static",
+ "icon-static",
"persistence",
-// "sound",
+ "sound",
NULL }
};
diff --git a/src/modules/notification/e_mod_popup.c b/src/modules/notification/e_mod_popup.c
index 2782257a3..27d7ecb21 100644
--- a/src/modules/notification/e_mod_popup.c
+++ b/src/modules/notification/e_mod_popup.c
@@ -708,6 +708,15 @@ _notification_popup_refresh(Popup_Data *popup)
h = MIN(h, zone->h / 2);
}
evas_object_resize(popup->win, w, h);
+
+ if (popup->notif->sound_file)
+ {
+ e_sound_file_play(popup->notif->sound_file, 1.0);
+ }
+// we don't do sound themes/schemes .. but we know about it...
+// else if (popup->notif->sound_name)
+// {
+// }
}
static Popup_Data *
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.