From b8d357d68900ec7125b6a3b3a1f528a68ff3a372 Mon Sep 17 00:00:00 2001 From: Romain Kuntz Date: Mon, 6 Oct 2008 20:50:39 +0000 Subject: [PATCH] Removed the "Toggle Security Off" tooltip as it is not available yet --- resources/languages/resources.properties | 6 +++--- .../sip/communicator/impl/gui/main/call/SecureButton.java | 8 ++++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/resources/languages/resources.properties b/resources/languages/resources.properties index dbaf7a7d7..24c6936e1 100644 --- a/resources/languages/resources.properties +++ b/resources/languages/resources.properties @@ -702,8 +702,8 @@ execprog=Execute a program : displaypopup=Show a message in a pop-up window # ZRTP Securing -toggleOffSecurity=Toggle OFF secure call mode -toggleOnSecurity=Try toggle ON secure call mode +toggleOffSecurity=Toggle secure call mode off +toggleOnSecurity=Try toggle secure call mode on engineInitFailure=Securing engine initialization failure allowClearRequestFailure=Peer doesn't support unsecuring the call defaultSASTooltip=Secure status field @@ -723,4 +723,4 @@ peerToggledOffSecurityCaption=Secure Off sasUnsecuredAtPeerRequestTooltip=Call unsecured at peer request # Profiler4J -profiler=Profiler4j \ No newline at end of file +profiler=Profiler4j diff --git a/src/net/java/sip/communicator/impl/gui/main/call/SecureButton.java b/src/net/java/sip/communicator/impl/gui/main/call/SecureButton.java index 892f0dc6b..bd0f4b378 100644 --- a/src/net/java/sip/communicator/impl/gui/main/call/SecureButton.java +++ b/src/net/java/sip/communicator/impl/gui/main/call/SecureButton.java @@ -82,8 +82,12 @@ public void updateSecureButton(boolean isSecure) this.setIcon( new ImageIcon( ImageLoader.getImage(ImageLoader.SECURE_BUTTON_ON))); - this.setToolTipText( - Messages.getI18NString("toggleOffSecurity").getText()); + // TODO GoClear + // We deactivate the tooltip at the moment, because the + // secure mode cannot be toggled off + //this.setToolTipText( + // Messages.getI18NString("toggleOffSecurity").getText()); + this.setToolTipText(null); } else {