diff options
author | Yana Stamcheva <yana@jitsi.org> | 2009-05-12 15:31:17 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2009-05-12 15:31:17 +0000 |
commit | 5e8f7072ef7bbf110f47afa281068f86e8dee9b3 (patch) | |
tree | 966d1c9ed90a6fa8c99932c005cf7a0fc4d51568 /src/net/java/sip/communicator/impl/gui/main/contactlist/DefaultContactList.java | |
parent | caa08d9d2e4aff50924420ea4a06a1b46028c255 (diff) | |
download | jitsi-5e8f7072ef7bbf110f47afa281068f86e8dee9b3.zip jitsi-5e8f7072ef7bbf110f47afa281068f86e8dee9b3.tar.gz jitsi-5e8f7072ef7bbf110f47afa281068f86e8dee9b3.tar.bz2 |
Fixing issue #669 (Broken smiles preivew on linux and windows).
Diffstat (limited to 'src/net/java/sip/communicator/impl/gui/main/contactlist/DefaultContactList.java')
-rw-r--r-- | src/net/java/sip/communicator/impl/gui/main/contactlist/DefaultContactList.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/contactlist/DefaultContactList.java b/src/net/java/sip/communicator/impl/gui/main/contactlist/DefaultContactList.java index b89e5ae..cb1c482 100644 --- a/src/net/java/sip/communicator/impl/gui/main/contactlist/DefaultContactList.java +++ b/src/net/java/sip/communicator/impl/gui/main/contactlist/DefaultContactList.java @@ -126,15 +126,14 @@ public class DefaultContactList { Contact protocolContact = i.next(); - Image protocolStatusIcon - = ImageLoader.getBytesInImage( - protocolContact.getPresenceStatus().getStatusIcon()); + ImageIcon protocolStatusIcon + = new ImageIcon( + protocolContact.getPresenceStatus().getStatusIcon()); String contactAddress = protocolContact.getAddress(); //String statusMessage = protocolContact.getStatusMessage(); - tip.addLine(new ImageIcon(protocolStatusIcon), - contactAddress); + tip.addLine(protocolStatusIcon, contactAddress); } } else if (element instanceof MetaContactGroup) |