[empathy: 8/22] chat-window: also update chat window title when the chat updates



commit e7afbce3f6925af7f3d43a443304f566a02d4942
Author: Jonny Lamb <jonnylamb gnome org>
Date:   Thu May 12 16:49:37 2011 +0100

    chat-window: also update chat window title when the chat updates
    
    Signed-off-by: Jonny Lamb <jonnylamb gnome org>

 src/empathy-chat-window.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index b9b2415..af94ddc 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -794,6 +794,7 @@ chat_window_update_chat_tab (EmpathyChat *chat)
 static void
 chat_window_chat_notify_cb (EmpathyChat *chat)
 {
+	EmpathyChatWindow *window;
 	EmpathyContact *old_remote_contact;
 	EmpathyContact *remote_contact = NULL;
 
@@ -820,6 +821,11 @@ chat_window_chat_notify_cb (EmpathyChat *chat)
 	}
 
 	chat_window_update_chat_tab (chat);
+
+	window = chat_window_find_chat (chat);
+	if (window != NULL) {
+		chat_window_update (window, FALSE);
+	}
 }
 
 static void



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