aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat-window.c
diff options
context:
space:
mode:
authorJonny Lamb <jonnylamb@gnome.org>2011-05-12 23:49:37 +0800
committerJonny Lamb <jonnylamb@gnome.org>2011-05-13 06:25:56 +0800
commite7afbce3f6925af7f3d43a443304f566a02d4942 (patch)
tree1d0fcc3380a3166afe4a616ce4d8b0597ce05234 /src/empathy-chat-window.c
parent4fd01bccdea76bdb929bae14a31d16327cd0a5aa (diff)
downloadgsoc2013-empathy-e7afbce3f6925af7f3d43a443304f566a02d4942.tar
gsoc2013-empathy-e7afbce3f6925af7f3d43a443304f566a02d4942.tar.gz
gsoc2013-empathy-e7afbce3f6925af7f3d43a443304f566a02d4942.tar.bz2
gsoc2013-empathy-e7afbce3f6925af7f3d43a443304f566a02d4942.tar.lz
gsoc2013-empathy-e7afbce3f6925af7f3d43a443304f566a02d4942.tar.xz
gsoc2013-empathy-e7afbce3f6925af7f3d43a443304f566a02d4942.tar.zst
gsoc2013-empathy-e7afbce3f6925af7f3d43a443304f566a02d4942.zip
chat-window: also update chat window title when the chat updates
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r--src/empathy-chat-window.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index b9b2415cc..af94ddc77 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