aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat-window.c
diff options
context:
space:
mode:
authorChandni Verma <chandniverma2112@gmail.com>2011-01-24 22:11:43 +0800
committerChandni Verma <chandniverma2112@gmail.com>2011-01-24 22:11:43 +0800
commitaade7b7e2006666d2af51016e1090bce5855edaf (patch)
tree5fbcb960f54b8670cea6356dad90684cd81d70b5 /src/empathy-chat-window.c
parent9e70e42316ad1970c4508404baa86c69c81575b0 (diff)
downloadgsoc2013-empathy-aade7b7e2006666d2af51016e1090bce5855edaf.tar
gsoc2013-empathy-aade7b7e2006666d2af51016e1090bce5855edaf.tar.gz
gsoc2013-empathy-aade7b7e2006666d2af51016e1090bce5855edaf.tar.bz2
gsoc2013-empathy-aade7b7e2006666d2af51016e1090bce5855edaf.tar.lz
gsoc2013-empathy-aade7b7e2006666d2af51016e1090bce5855edaf.tar.xz
gsoc2013-empathy-aade7b7e2006666d2af51016e1090bce5855edaf.tar.zst
gsoc2013-empathy-aade7b7e2006666d2af51016e1090bce5855edaf.zip
Do not display typing icon in MUC tabs
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=609420
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r--src/empathy-chat-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 9f893dc7e..519ee8fc9 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."));
}