[goobox] added notification filtering support



commit 689711017bb4297b45ffd5c40db4a7ebff189a38
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Jan 22 10:36:30 2013 +0100

    added notification filtering support

 data/goobox.desktop.in.in |    1 +
 src/main.c                |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/data/goobox.desktop.in.in b/data/goobox.desktop.in.in
index d97b635..36cea15 100644
--- a/data/goobox.desktop.in.in
+++ b/data/goobox.desktop.in.in
@@ -13,3 +13,4 @@ X-GNOME-Bugzilla-Bugzilla=GNOME
 X-GNOME-Bugzilla-Product=goobox
 X-GNOME-Bugzilla-Component=general
 X-GNOME-Bugzilla-Version= VERSION@
+X-GNOME-UsesNotifications=true
diff --git a/src/main.c b/src/main.c
index cba8bd1..d5e8243 100644
--- a/src/main.c
+++ b/src/main.c
@@ -905,6 +905,7 @@ system_notify (GooWindow       *window,
 #else
 		notification = notify_notification_new_with_status_icon (summary, body, "goobox", status_icon);
 #endif
+		notify_notification_set_hint_string (notification, "desktop-entry", "goobox");
 		notify_notification_set_urgency (notification, NOTIFY_URGENCY_LOW);
 	}
 	else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]