From bed514dd862a5b7968d42c0cfb2bd3afe46e4d84 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 8 Jan 2013 11:33:46 -0500 Subject: Bug 691047 - Support notification filtering For compliance with: https://live.gnome.org/GnomeGoals/NotificationSource --- plugins/publish-calendar/publish-calendar.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/publish-calendar') diff --git a/plugins/publish-calendar/publish-calendar.c b/plugins/publish-calendar/publish-calendar.c index 95fa1553c7..cc04b2e762 100644 --- a/plugins/publish-calendar/publish-calendar.c +++ b/plugins/publish-calendar/publish-calendar.c @@ -149,6 +149,9 @@ update_publish_notification (GtkMessageType msg_type, notify = notify_notification_new (_("Calendar Publishing"), actual_msg->str, stock_name); notify_notification_set_urgency (notify, NOTIFY_URGENCY_NORMAL); notify_notification_set_timeout (notify, NOTIFY_EXPIRES_DEFAULT); + notify_notification_set_hint ( + notify, "desktop-entry", + g_variant_new_string (PACKAGE)); g_timeout_add (500, show_notify_cb, NULL); g_signal_connect ( -- cgit v1.2.3