diff options
author | Yana Stamcheva <yana@jitsi.org> | 2009-11-24 15:13:16 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2009-11-24 15:13:16 +0000 |
commit | 53fe8eefaebb42912dd8e723293e140857ba7508 (patch) | |
tree | ba9a8bc017b2a65c190ee58e0660270ac8d96bc1 /src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java | |
parent | f660a5ed6c54749e3822ccdcd106fb8928943fa4 (diff) | |
download | jitsi-53fe8eefaebb42912dd8e723293e140857ba7508.zip jitsi-53fe8eefaebb42912dd8e723293e140857ba7508.tar.gz jitsi-53fe8eefaebb42912dd8e723293e140857ba7508.tar.bz2 |
Call and Chat Conference Invite Dialog enhancements:
- Added the possibility to add contacts, which are not in the contact list.
- Filter contact list contacts already added in a conference.
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, 6 insertions, 0 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 7c59830..d6b7ec6 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 @@ -229,6 +229,12 @@ public class ContactListCellRenderer this.isLeaf = false; } + else if (value instanceof String) + { + this.setPreferredSize(new Dimension(20, 30)); + this.nameLabel.setText((String) value); + this.nameLabel.setFont(this.getFont().deriveFont(Font.PLAIN)); + } this.isSelected = isSelected; |