[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torbutton/master] Bug 15533: Restore default security level



commit 4f230f0344aa622de506766f65f4584e319ca49e
Author: Georg Koppen <gk@xxxxxxxxxxxxxx>
Date:   Wed Apr 1 12:30:33 2015 +0000

    Bug 15533: Restore default security level
    
    We changed the position of the security levels ("High" is now on top
    and "Low" on bottom) but forgot to adapt the logic responsible for
    restoring the default one (i.e. "Low").
---
 src/chrome/content/preferences.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/chrome/content/preferences.js b/src/chrome/content/preferences.js
index be77793..1ac89da 100644
--- a/src/chrome/content/preferences.js
+++ b/src/chrome/content/preferences.js
@@ -458,7 +458,7 @@ function torbutton_prefs_reset_defaults() {
 
     // Resetting the Security Slider preferences
     o_torprefs.setBoolPref('security_custom', false);
-    o_torprefs.setIntPref('security_slider', 1);
+    o_torprefs.setIntPref('security_slider', 4);
     chrome.torbutton_update_security_slider();
 
     torbutton_log(4, "Preferences reset to defaults");

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits