[evolution] Bug 795331 - Use correct desktop-entry name in notifications
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 795331 - Use correct desktop-entry name in notifications
- Date: Thu, 19 Apr 2018 12:02:27 +0000 (UTC)
commit c2493a729c6879d2f0aade836ef9e410c9a86571
Author: Mathieu Bridon <bochecha daitauha fr>
Date: Thu Apr 19 14:02:53 2018 +0200
Bug 795331 - Use correct desktop-entry name in notifications
src/calendar/alarm-notify/alarm-queue.c | 2 +-
src/plugins/mail-notification/mail-notification.c | 2 +-
src/plugins/publish-calendar/publish-calendar.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/calendar/alarm-notify/alarm-queue.c b/src/calendar/alarm-notify/alarm-queue.c
index f3c02d6..9f63f26 100644
--- a/src/calendar/alarm-notify/alarm-queue.c
+++ b/src/calendar/alarm-notify/alarm-queue.c
@@ -1995,7 +1995,7 @@ popup_notification (time_t trigger,
* with its own .desktop file. */
notify_notification_set_hint (
qa->notify, "desktop-entry",
- g_variant_new_string (PACKAGE));
+ g_variant_new_string ("org.gnome.Evolution"));
if (can_support_actions ()) {
notify_notification_add_action (
diff --git a/src/plugins/mail-notification/mail-notification.c
b/src/plugins/mail-notification/mail-notification.c
index 2203789..7df0359 100644
--- a/src/plugins/mail-notification/mail-notification.c
+++ b/src/plugins/mail-notification/mail-notification.c
@@ -461,7 +461,7 @@ new_notify_status (EMEventTargetFolder *t)
notify_notification_set_hint (
notify, "desktop-entry",
- g_variant_new_string (PACKAGE));
+ g_variant_new_string ("org.gnome.Evolution"));
if (e_util_is_running_gnome ()) {
notify_notification_set_hint (
diff --git a/src/plugins/publish-calendar/publish-calendar.c b/src/plugins/publish-calendar/publish-calendar.c
index 032be4c..2a57835 100644
--- a/src/plugins/publish-calendar/publish-calendar.c
+++ b/src/plugins/publish-calendar/publish-calendar.c
@@ -147,7 +147,7 @@ update_publish_notification (GtkMessageType msg_type,
notify_notification_set_timeout (notify, NOTIFY_EXPIRES_DEFAULT);
notify_notification_set_hint (
notify, "desktop-entry",
- g_variant_new_string (PACKAGE));
+ g_variant_new_string ("org.gnome.Evolution"));
e_named_timeout_add (500, show_notify_cb, NULL);
g_signal_connect (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]