[empathy: 13/22] chat: don't toggle visibility of the chat view on marking messages read



commit c68050906fb6a3017ed9162fb14b4dcca78eba0a
Author: Jonny Lamb <jonnylamb gnome org>
Date:   Fri May 13 15:12:54 2011 +0100

    chat: don't toggle visibility of the chat view on marking messages read
    
    It doesn't make sense, and it's a lie. It will also break showing
    unread message markers in the adium chat view.
    
    Signed-off-by: Jonny Lamb <jonnylamb gnome org>

 libempathy-gtk/empathy-chat.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 71e5620..3a57c81 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -3905,11 +3905,9 @@ empathy_chat_messages_read (EmpathyChat *self)
 	if (priv->retrieving_backlogs)
 		return;
 
-	if (priv->tp_chat != NULL ) {
+	if (priv->tp_chat != NULL) {
 		empathy_tp_chat_acknowledge_all_messages (priv->tp_chat);
 	}
-
-	empathy_chat_view_focus_toggled (self->view, TRUE);
 }
 
 /* Return TRUE if on of the contacts in this chat is composing */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]