diff options
author | Yana Stamcheva <yana@jitsi.org> | 2009-09-14 15:02:21 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2009-09-14 15:02:21 +0000 |
commit | 0eac15d970b650a5ec217b769ab6a5b3def4ff82 (patch) | |
tree | b8697a8099ccba3bef8330fa401fef3dd62aafc6 /src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java | |
parent | 1a43f53a1fdc1465dfdd9096b168db714366d3c3 (diff) | |
download | jitsi-0eac15d970b650a5ec217b769ab6a5b3def4ff82.zip jitsi-0eac15d970b650a5ec217b769ab6a5b3def4ff82.tar.gz jitsi-0eac15d970b650a5ec217b769ab6a5b3def4ff82.tar.bz2 |
Show online contacts count for each group in the contact list. Patch provided by Valentin Martinet.
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 | 3 |
1 files changed, 2 insertions, 1 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 1297e51..5d2794e 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 @@ -172,7 +172,8 @@ public class ContactListCellRenderer MetaContactGroup groupItem = (MetaContactGroup) value; this.nameLabel.setText(groupItem.getGroupName() - + " ( " + groupItem.countChildContacts() + " )"); + + " ( "+ groupItem.countOnlineChildContacts() + + "/" + groupItem.countChildContacts() + " )"); this.nameLabel.setFont(this.getFont().deriveFont(Font.BOLD)); |