]> git.0d.be Git - empathy.git/commitdiff
EmpathyChatWindow: Set "im.received" on notification so gnome-shell can ignore it
authorXavier Claessens <xclaesse@gmail.com>
Mon, 22 Aug 2011 14:16:20 +0000 (16:16 +0200)
committerXavier Claessens <xclaesse@gmail.com>
Mon, 22 Aug 2011 14:18:45 +0000 (16:18 +0200)
src/empathy-chat-window.c

index 171b6358d205fe2f7264569c9457f88fe7f4218d..97ed1b9de51c7696308f5015037b261338f31358 100644 (file)
@@ -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,