diff options
author | Yana Stamcheva <yana@jitsi.org> | 2006-09-20 11:15:02 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2006-09-20 11:15:02 +0000 |
commit | 5d83d87e93cbeef1250dd7746258603c92ddfe2e (patch) | |
tree | 255c3c75e06d1a9949ad249657a7711efecddbb2 /src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java | |
parent | 037c3bf7f72dfd58627e12f39f317e41368a8289 (diff) | |
download | jitsi-5d83d87e93cbeef1250dd7746258603c92ddfe2e.zip jitsi-5d83d87e93cbeef1250dd7746258603c92ddfe2e.tar.gz jitsi-5d83d87e93cbeef1250dd7746258603c92ddfe2e.tar.bz2 |
remove IcqStatusEnum
Diffstat (limited to 'src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java')
-rw-r--r-- | src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java b/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java index 6312b23..bc26cc3 100644 --- a/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java +++ b/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java @@ -104,13 +104,10 @@ public class ContactListCellRenderer extends JPanel int buttonsPanelWidth = 0; while (i.hasNext()) { Contact protocolContact = (Contact) i.next(); - - String protocolName = protocolContact.getProtocolProvider() - .getProtocolName(); - - Image protocolStatusIcon = (Image) Constants - .getProtocolStatusIcons(protocolName).get( - protocolContact.getPresenceStatus()); + + Image protocolStatusIcon + = ImageLoader.getBytesInImage( + protocolContact.getPresenceStatus().getStatusIcon()); ContactProtocolButton contactProtocolButton = new ContactProtocolButton(protocolStatusIcon, |