aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJonny Lamb <jonnylamb@gnome.org>2011-05-12 23:49:24 +0800
committerJonny Lamb <jonnylamb@gnome.org>2011-05-13 06:25:56 +0800
commit4fd01bccdea76bdb929bae14a31d16327cd0a5aa (patch)
tree3727ad0033a13589d569fbdee724751eaf678a83 /src
parentd36a313b26e957452fde60cac897791b0f6e4990 (diff)
downloadgsoc2013-empathy-4fd01bccdea76bdb929bae14a31d16327cd0a5aa.tar
gsoc2013-empathy-4fd01bccdea76bdb929bae14a31d16327cd0a5aa.tar.gz
gsoc2013-empathy-4fd01bccdea76bdb929bae14a31d16327cd0a5aa.tar.bz2
gsoc2013-empathy-4fd01bccdea76bdb929bae14a31d16327cd0a5aa.tar.lz
gsoc2013-empathy-4fd01bccdea76bdb929bae14a31d16327cd0a5aa.tar.xz
gsoc2013-empathy-4fd01bccdea76bdb929bae14a31d16327cd0a5aa.tar.zst
gsoc2013-empathy-4fd01bccdea76bdb929bae14a31d16327cd0a5aa.zip
chat-window: update tab when nb-unread-messages changes
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'src')
-rw-r--r--src/empathy-chat-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index be83f4a29..b9b2415cc 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);