[or-cvs] [torbutton/master 13/15] proper name space issues

mikeperry at torproject.org mikeperry at torproject.org
Thu Sep 30 13:33:45 UTC 2010


Author: Jacob Appelbaum <jacob at appelbaum.net>
Date: Sat, 24 Jul 2010 02:03:42 +0200
Subject: proper name space issues
Commit: ac89101bcba8565cf2afbf72385dbf4ab2677a1c

---
 src/chrome/content/preferences.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/chrome/content/preferences.js b/src/chrome/content/preferences.js
index c791163..954fc06 100644
--- a/src/chrome/content/preferences.js
+++ b/src/chrome/content/preferences.js
@@ -403,7 +403,7 @@ function torbutton_prefs_save(doc) {
 
     o_torprefs.setCharPref('no_proxies_on',      doc.getElementById('torbutton_noProxiesOn').value);
 
-    o_torprefs.setBoolPref('torbutton_transparentTor', doc.getElementById('torbutton_transparentTor').selected);
+    o_torprefs.setBoolPref('saved.transparentTor', doc.getElementById('torbutton_transparentTor').selected);
     if (o_torprefs.getBoolPref('torbutton_transparentTor')) {
         var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]
             .getService(Components.interfaces.nsIWindowMediator);
@@ -415,7 +415,7 @@ function torbutton_prefs_save(doc) {
         }
 
         else {
-            o_torprefs.setBoolPref('torbutton_tor_enabled', true);
+            o_torprefs.setBoolPref('tor_enabled', true);
             // In theory this is where we unlock some things that are now "safe"
             // Unleash Flash on Tor users
             // Ignore any proxy settings that the user has set
-- 
1.7.1




More information about the tor-commits mailing list