[sip-comm-dev] Re: svn commit: r4997 - trunk/src/net/java/sip/communicator/impl/gui/main/call/SecurityPanel.java


#1

Werner,

thanks for fixing this!

Cheers,
Yana

wernerd@dev.java.net wrote:

···

Author: wernerd
Date: 2009-02-15 12:05:41+0000
New Revision: 4997

Modified:
   trunk/src/net/java/sip/communicator/impl/gui/main/call/SecurityPanel.java

Log:
Fix a small problem displaying "verify" status lock

Modified: trunk/src/net/java/sip/communicator/impl/gui/main/call/SecurityPanel.java
Url: https://sip-communicator.dev.java.net/source/browse/sip-communicator/trunk/src/net/java/sip/communicator/impl/gui/main/call/SecurityPanel.java?view=diff&rev=4997&p1=trunk/src/net/java/sip/communicator/impl/gui/main/call/SecurityPanel.java&p2=trunk/src/net/java/sip/communicator/impl/gui/main/call/SecurityPanel.java&r1=4996&r2=4997

--- trunk/src/net/java/sip/communicator/impl/gui/main/call/SecurityPanel.java (original)
+++ trunk/src/net/java/sip/communicator/impl/gui/main/call/SecurityPanel.java 2009-02-15 12:05:41+0000
@@ -128,14 +128,15 @@
         if (securityString != null)
         {
             securityStringLabel.setText(securityString);
-
- if (event.isSecurityVerified())
- {
- sasVerificationButton.setImage(iconEncrVerified);
- }
         }
- sasVerificationButton.setImage(iconEncr);
+ if (event.isSecurityVerified())
+ {
+ sasVerificationButton.setImage(iconEncrVerified);
+ }
+ else {
+ sasVerificationButton.setImage(iconEncr);
+ }
         notificationService.fireNotification(ZRTP_SECURE_NOTIFICATION);
          revalidate();

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: commits-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net