diff options
author | Jonny Lamb <jonnylamb@gnome.org> | 2011-05-13 22:16:25 +0800 |
---|---|---|
committer | Jonny Lamb <jonnylamb@gnome.org> | 2011-05-13 22:25:15 +0800 |
commit | d44680728465f8bb4da6f6dd50694d04aadd1745 (patch) | |
tree | d2437ba6b33da49cd532abecb5fd03b51f7d7a8c /libempathy-gtk/empathy-chat.c | |
parent | 5af3e568a7048f1de84d9c5372973aeee87aff60 (diff) | |
download | gsoc2013-empathy-d44680728465f8bb4da6f6dd50694d04aadd1745.tar gsoc2013-empathy-d44680728465f8bb4da6f6dd50694d04aadd1745.tar.gz gsoc2013-empathy-d44680728465f8bb4da6f6dd50694d04aadd1745.tar.bz2 gsoc2013-empathy-d44680728465f8bb4da6f6dd50694d04aadd1745.tar.lz gsoc2013-empathy-d44680728465f8bb4da6f6dd50694d04aadd1745.tar.xz gsoc2013-empathy-d44680728465f8bb4da6f6dd50694d04aadd1745.tar.zst gsoc2013-empathy-d44680728465f8bb4da6f6dd50694d04aadd1745.zip |
chat: ::notify for all changes to unread messages
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index 09bff03e3..897127b28 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -1278,6 +1278,7 @@ chat_message_received (EmpathyChat *chat, if (empathy_message_is_incoming (message)) { priv->unread_messages++; + g_object_notify (G_OBJECT (chat), "nb-unread-messages"); } g_signal_emit (chat, signals[NEW_MESSAGE], 0, message, pending); |