diff options
author | Damian Minkov <damencho@jitsi.org> | 2009-03-13 14:40:34 +0000 |
---|---|---|
committer | Damian Minkov <damencho@jitsi.org> | 2009-03-13 14:40:34 +0000 |
commit | 851cc7842d7c64001753267da3d02c34a46ecf08 (patch) | |
tree | ed41ad1eced0da7ae8c9e8291404f37e9288461d /src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java | |
parent | 48a1233997cb9ed5545a14b2b1d17216393b4b4b (diff) | |
download | jitsi-851cc7842d7c64001753267da3d02c34a46ecf08.zip jitsi-851cc7842d7c64001753267da3d02c34a46ecf08.tar.gz jitsi-851cc7842d7c64001753267da3d02c34a46ecf08.tar.bz2 |
Fix issue #545 wrong tooltips shown for contacts in multichat window.
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 | 6 |
1 files changed, 3 insertions, 3 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 c7a6784..4da20ab 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 @@ -95,7 +95,7 @@ public class ContactListCellRenderer /** * Implements the <tt>ListCellRenderer</tt> method. - * + * * Returns this panel that has been configured to display the meta contact * and meta contact group cells. */ @@ -106,7 +106,7 @@ public class ContactListCellRenderer this.photoLabel.setIcon(null); - ContactList contactList = (ContactList) list; + DefaultContactList contactList = (DefaultContactList) list; if (value instanceof MetaContact) { @@ -185,7 +185,7 @@ public class ContactListCellRenderer // make getComponentAt work properly. this.setBounds(0, 0, list.getWidth() - 2, 20); - if(((ContactListModel)list.getModel()).isGroupClosed(groupItem)) + if(contactList.isGroupClosed(groupItem)) this.nameLabel.setIcon(closedGroupIcon); else this.nameLabel.setIcon(openedGroupIcon); |