aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java
diff options
context:
space:
mode:
authorYana Stamcheva <yana@jitsi.org>2011-02-03 16:55:33 +0000
committerYana Stamcheva <yana@jitsi.org>2011-02-03 16:55:33 +0000
commitf5afa3cbe9ff8f645125b6ba8dd1a9cc9b35e2cd (patch)
treeeff10d71fbeb7daee0ff34b90896fa111da09a75 /src/net/java
parentb8f624b6a7a79e602ba7079a7e8a1ea3c9613c50 (diff)
downloadjitsi-f5afa3cbe9ff8f645125b6ba8dd1a9cc9b35e2cd.zip
jitsi-f5afa3cbe9ff8f645125b6ba8dd1a9cc9b35e2cd.tar.gz
jitsi-f5afa3cbe9ff8f645125b6ba8dd1a9cc9b35e2cd.tar.bz2
Fixes remaining message notification icon for a contact with no "active" chats.
Diffstat (limited to 'src/net/java')
-rw-r--r--src/net/java/sip/communicator/impl/gui/main/chat/ChatWindow.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/chat/ChatWindow.java b/src/net/java/sip/communicator/impl/gui/main/chat/ChatWindow.java
index 222850e..97f2dd1 100644
--- a/src/net/java/sip/communicator/impl/gui/main/chat/ChatWindow.java
+++ b/src/net/java/sip/communicator/impl/gui/main/chat/ChatWindow.java
@@ -348,6 +348,11 @@ public class ChatWindow
this.mainPanel.add(currentChatPanel, BorderLayout.CENTER);
this.setCurrentChat(currentChatPanel);
+
+ // The current chat is now the focused chat, so we remove the
+ // non read chat state.
+ GuiActivator.getUIService().getChatWindowManager()
+ .removeNonReadChatState(currentChatPanel);
}
chatCount --;