directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r880765 - /directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/CertificateValidationPreferencePage.java
Date Mon, 16 Nov 2009 14:22:10 GMT
Author: pamarcelot
Date: Mon Nov 16 14:22:10 2009
New Revision: 880765

URL: http://svn.apache.org/viewvc?rev=880765&view=rev
Log:
Fix for DIRSTUDIO-580 (Setting "Validate certificates for secure LDAP connections" is not
saved).
Forcing the plugin to save the preferences after modifying them.

Modified:
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/CertificateValidationPreferencePage.java

Modified: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/CertificateValidationPreferencePage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/CertificateValidationPreferencePage.java?rev=880765&r1=880764&r2=880765&view=diff
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/CertificateValidationPreferencePage.java
(original)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/CertificateValidationPreferencePage.java
Mon Nov 16 14:22:10 2009
@@ -139,6 +139,7 @@
     {
         verifyCertificatesButton.setSelection( ConnectionCorePlugin.getDefault().getPluginPreferences()
             .getDefaultBoolean( ConnectionCoreConstants.PREFERENCE_VALIDATE_CERTIFICATES
) );
+        ConnectionCorePlugin.getDefault().savePluginPreferences();
         super.performDefaults();
     }
 
@@ -150,6 +151,7 @@
     {
         ConnectionCorePlugin.getDefault().getPluginPreferences().setValue(
             ConnectionCoreConstants.PREFERENCE_VALIDATE_CERTIFICATES, verifyCertificatesButton.getSelection()
);
+        ConnectionCorePlugin.getDefault().savePluginPreferences();
         return true;
     }
 



Mime
View raw message