[evolution-data-server/gnome-3-38] alarm-notify: Provide application reference in canberra calls
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-3-38] alarm-notify: Provide application reference in canberra calls
- Date: Wed, 6 Jan 2021 16:26:07 +0000 (UTC)
commit a50a57a4233468bdc2f6fa8bafda489ab662bf5a
Author: Milan Crha <mcrha redhat com>
Date: Wed Jan 6 17:04:07 2021 +0100
alarm-notify: Provide application reference in canberra calls
src/services/evolution-alarm-notify/e-alarm-notify.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/services/evolution-alarm-notify/e-alarm-notify.c
b/src/services/evolution-alarm-notify/e-alarm-notify.c
index 5dbfcd3ea..3c8053e71 100644
--- a/src/services/evolution-alarm-notify/e-alarm-notify.c
+++ b/src/services/evolution-alarm-notify/e-alarm-notify.c
@@ -163,6 +163,9 @@ e_alarm_notify_audio (EAlarmNotify *an,
} else if (g_file_test (filename, G_FILE_TEST_EXISTS)) {
#ifdef HAVE_CANBERRA
gint err = ca_context_play (ca_gtk_context_get (), 0,
+ CA_PROP_APPLICATION_NAME, "evolution-alarm-notify",
+ CA_PROP_APPLICATION_VERSION, VERSION,
+ CA_PROP_APPLICATION_ID, "org.gnome.Evolution-alarm-notify",
CA_PROP_MEDIA_FILENAME, filename,
NULL);
@@ -191,6 +194,9 @@ e_alarm_notify_audio (EAlarmNotify *an,
#ifdef HAVE_CANBERRA
if (!did_play) {
gint err = ca_context_play (ca_gtk_context_get (), 0,
+ CA_PROP_APPLICATION_NAME, "evolution-alarm-notify",
+ CA_PROP_APPLICATION_VERSION, VERSION,
+ CA_PROP_APPLICATION_ID, "org.gnome.Evolution-alarm-notify",
CA_PROP_EVENT_ID, "alarm-clock-elapsed",
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]