[empathy: 1/2] Do not display typing icon in MUC tabs



commit aade7b7e2006666d2af51016e1090bce5855edaf
Author: Chandni Verma <chandniverma2112 gmail com>
Date:   Mon Jan 24 19:41:43 2011 +0530

    Do not display typing icon in MUC tabs
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=609420

 src/empathy-chat-window.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 9f893dc..519ee8f 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -663,7 +663,7 @@ chat_window_update_chat_tab (EmpathyChat *chat)
 	else if (empathy_chat_get_nb_unread_messages (chat) > 0) {
 		icon_name = EMPATHY_IMAGE_MESSAGE;
 	}
-	else if (empathy_chat_is_composing (chat)) {
+	else if (remote_contact && empathy_chat_is_composing (chat)) {
 		icon_name = EMPATHY_IMAGE_TYPING;
 	}
 	else if (remote_contact) {
@@ -708,7 +708,7 @@ chat_window_update_chat_tab (EmpathyChat *chat)
 				      _("Topic:"), subject);
 	}
 
-	if (empathy_chat_is_composing (chat)) {
+	if (remote_contact && empathy_chat_is_composing (chat)) {
 		append_markup_printf (tooltip, "\n%s", _("Typing a message."));
 	}
 



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