[empathy: 16/22] chat: ::notify for all changes to unread messages
- From: Jonny Lamb <jonnylamb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 16/22] chat: ::notify for all changes to unread messages
- Date: Tue, 17 May 2011 08:38:00 +0000 (UTC)
commit d44680728465f8bb4da6f6dd50694d04aadd1745
Author: Jonny Lamb <jonnylamb gnome org>
Date: Fri May 13 15:16:25 2011 +0100
chat: ::notify for all changes to unread messages
Signed-off-by: Jonny Lamb <jonnylamb gnome org>
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 09bff03..897127b 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]