[empathy: 7/22] chat-window: update tab when nb-unread-messages changes



commit 4fd01bccdea76bdb929bae14a31d16327cd0a5aa
Author: Jonny Lamb <jonnylamb gnome org>
Date:   Thu May 12 16:49:24 2011 +0100

    chat-window: update tab when nb-unread-messages changes
    
    Signed-off-by: Jonny Lamb <jonnylamb gnome org>

 src/empathy-chat-window.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index be83f4a..b9b2415 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -2281,6 +2281,9 @@ empathy_chat_window_add_chat (EmpathyChatWindow *window,
 	g_signal_connect (chat, "notify::n-messages-sending",
 			  G_CALLBACK (chat_window_chat_notify_cb),
 			  NULL);
+	g_signal_connect (chat, "notify::nb-unread-messages",
+			  G_CALLBACK (chat_window_chat_notify_cb),
+			  NULL);
 	chat_window_chat_notify_cb (chat);
 
 	gtk_notebook_append_page_menu (GTK_NOTEBOOK (priv->notebook), child, label, popup_label);



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