diff options
author | Yana Stamcheva <yana@jitsi.org> | 2012-09-23 17:23:33 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2012-09-23 17:23:33 +0000 |
commit | 86a0325947316d5e4b229a7f178f87a4f12be52c (patch) | |
tree | c83d09fad6da0566b0f4f310ce651da5660c9674 /src/net/java/sip/communicator/impl/gui/main/call/OneToOneCallPeerPanel.java | |
parent | 9dfae463286f44520f3ce9dda3e4ea01ff35f852 (diff) | |
download | jitsi-86a0325947316d5e4b229a7f178f87a4f12be52c.zip jitsi-86a0325947316d5e4b229a7f178f87a4f12be52c.tar.gz jitsi-86a0325947316d5e4b229a7f178f87a4f12be52c.tar.bz2 |
New enhanced interface.
Diffstat (limited to 'src/net/java/sip/communicator/impl/gui/main/call/OneToOneCallPeerPanel.java')
-rw-r--r-- | src/net/java/sip/communicator/impl/gui/main/call/OneToOneCallPeerPanel.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/call/OneToOneCallPeerPanel.java b/src/net/java/sip/communicator/impl/gui/main/call/OneToOneCallPeerPanel.java index 7242a22..f60cafd 100644 --- a/src/net/java/sip/communicator/impl/gui/main/call/OneToOneCallPeerPanel.java +++ b/src/net/java/sip/communicator/impl/gui/main/call/OneToOneCallPeerPanel.java @@ -142,7 +142,7 @@ public class OneToOneCallPeerPanel /** * Sound remote level label. */ - private OutputVolumeControlButton remoteLevel; + private Component remoteLevel; /** * The center component. @@ -356,7 +356,7 @@ public class OneToOneCallPeerPanel ImageLoader.MUTE_BUTTON, false, false, false); remoteLevel = new OutputVolumeControlButton( - ImageLoader.HEADPHONE, false, false); + ImageLoader.HEADPHONE, false, false).getComponent(); final SoundLevelIndicator localLevelIndicator = new SoundLevelIndicator( @@ -831,9 +831,8 @@ public class OneToOneCallPeerPanel localLevel.setIcon(new ImageIcon( ImageLoader.getImage(ImageLoader.MICROPHONE))); - if(remoteLevel != null) - remoteLevel.setIcon(new ImageIcon( - ImageLoader.getImage(ImageLoader.HEADPHONE))); + if(remoteLevel != null && remoteLevel instanceof Skinnable) + ((Skinnable) remoteLevel).loadSkin(); if(muteStatusLabel.getIcon() != null) muteStatusLabel.setIcon(new ImageIcon( |