From 3be11adb859eb5ec1a2f2a850e8277c73e5aa814 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Mon, 22 Aug 2011 16:16:20 +0200 Subject: [PATCH] EmpathyChatWindow: Set "im.received" on notification so gnome-shell can ignore it --- src/empathy-chat-window.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index 171b6358..97ed1b9d 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, -- 2.39.2