]> git.0d.be Git - empathy.git/commitdiff
chat-window: also update chat window title when the chat updates
authorJonny Lamb <jonnylamb@gnome.org>
Thu, 12 May 2011 15:49:37 +0000 (16:49 +0100)
committerJonny Lamb <jonnylamb@gnome.org>
Thu, 12 May 2011 22:25:56 +0000 (23:25 +0100)
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
src/empathy-chat-window.c

index b9b2415cc053932a68f0038ab2231a180032e396..af94ddc77bad060c9000c431faaeaaeb40d494f2 100644 (file)
@@ -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