aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2011-08-22 22:16:20 +0800
committerXavier Claessens <xclaesse@gmail.com>2011-08-22 22:18:45 +0800
commit3be11adb859eb5ec1a2f2a850e8277c73e5aa814 (patch)
tree4cd94622e2bc063b8846e2249fcf9bb94720cdff /src
parentf60338e75ad72300e1f93ea38ce17284d50d698c (diff)
downloadgsoc2013-empathy-3be11adb859eb5ec1a2f2a850e8277c73e5aa814.tar
gsoc2013-empathy-3be11adb859eb5ec1a2f2a850e8277c73e5aa814.tar.gz
gsoc2013-empathy-3be11adb859eb5ec1a2f2a850e8277c73e5aa814.tar.bz2
gsoc2013-empathy-3be11adb859eb5ec1a2f2a850e8277c73e5aa814.tar.lz
gsoc2013-empathy-3be11adb859eb5ec1a2f2a850e8277c73e5aa814.tar.xz
gsoc2013-empathy-3be11adb859eb5ec1a2f2a850e8277c73e5aa814.tar.zst
gsoc2013-empathy-3be11adb859eb5ec1a2f2a850e8277c73e5aa814.zip
EmpathyChatWindow: Set "im.received" on notification so gnome-shell can ignore it
Diffstat (limited to 'src')
-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 171b6358d..97ed1b9de 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,