[empathy] EmpathyChatWindow: Set "im.received" on notification so gnome-shell can ignore it



commit 3be11adb859eb5ec1a2f2a850e8277c73e5aa814
Author: Xavier Claessens <xclaesse gmail com>
Date:   Mon Aug 22 16:16:20 2011 +0200

    EmpathyChatWindow: Set "im.received" on notification so gnome-shell can ignore it

 src/empathy-chat-window.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 171b635..97ed1b9 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -1375,6 +1375,10 @@ chat_window_show_or_update_notification (EmpathyChatWindow *window,
 			notify_notification_set_hint_string (notification,
 				EMPATHY_NOTIFY_MANAGER_CAP_X_CANONICAL_APPEND, "1");
 		}
+
+		notify_notification_set_hint (notification,
+			EMPATHY_NOTIFY_MANAGER_CAP_CATEGORY,
+			g_variant_new_string ("im.received"));
 	}
 
 	pixbuf = empathy_notify_manager_get_pixbuf_for_notification (priv->notify_mgr,



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