summaryrefslogtreecommitdiff
path: root/src/empathy-chat-window.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2011-08-22 16:16:20 +0200
committerXavier Claessens <xclaesse@gmail.com>2011-08-22 16:18:45 +0200
commit3be11adb859eb5ec1a2f2a850e8277c73e5aa814 (patch)
tree4cd94622e2bc063b8846e2249fcf9bb94720cdff /src/empathy-chat-window.c
parentf60338e75ad72300e1f93ea38ce17284d50d698c (diff)
EmpathyChatWindow: Set "im.received" on notification so gnome-shell can ignore it
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r--src/empathy-chat-window.c4
1 files changed, 4 insertions, 0 deletions
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,