diff options
author | Damian Minkov <damencho@jitsi.org> | 2012-02-13 13:16:20 +0000 |
---|---|---|
committer | Damian Minkov <damencho@jitsi.org> | 2012-02-13 13:16:20 +0000 |
commit | 6faa9cecec62b42880f14b25f4a90430ab321a41 (patch) | |
tree | bdb33e7fc30a9e39da42c43485e5be78639beebc /src/net/java/sip/communicator/impl | |
parent | 94be44cff1322db22885921a5042ec15c90925fa (diff) | |
download | jitsi-6faa9cecec62b42880f14b25f4a90430ab321a41.zip jitsi-6faa9cecec62b42880f14b25f4a90430ab321a41.tar.gz jitsi-6faa9cecec62b42880f14b25f4a90430ab321a41.tar.bz2 |
Fixes problem with deleting chars on macosx java 1.5 and handling some special chars in the written text.
Fixes subsequent open of chat history urls when trying to focus back on the chat conversation by clicking the mouse on the chat history panel.
Diffstat (limited to 'src/net/java/sip/communicator/impl')
-rwxr-xr-x | src/net/java/sip/communicator/impl/gui/main/chat/ChatConversationPanel.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/chat/ChatConversationPanel.java b/src/net/java/sip/communicator/impl/gui/main/chat/ChatConversationPanel.java index a3cf2d2..4e02032 100755 --- a/src/net/java/sip/communicator/impl/gui/main/chat/ChatConversationPanel.java +++ b/src/net/java/sip/communicator/impl/gui/main/chat/ChatConversationPanel.java @@ -1078,6 +1078,10 @@ public class ChatConversationPanel && currentHref != null && currentHref.length() != 0) { GuiActivator.getBrowserLauncher().openURL(currentHref); + + // after opening the link remove the currentHref to avoid + // clicking on the window to gain focus to open the link again + this.currentHref = ""; } } |