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

[or-cvs] r15860: Don't disable prefs if torbuton is disabled. (torbutton/trunk/src/chrome/content)



Author: mikeperry
Date: 2008-07-12 17:10:27 -0400 (Sat, 12 Jul 2008)
New Revision: 15860

Modified:
   torbutton/trunk/src/chrome/content/torbutton.js
Log:

Don't disable prefs if torbuton is disabled.



Modified: torbutton/trunk/src/chrome/content/torbutton.js
===================================================================
--- torbutton/trunk/src/chrome/content/torbutton.js	2008-07-12 20:52:15 UTC (rev 15859)
+++ torbutton/trunk/src/chrome/content/torbutton.js	2008-07-12 21:10:27 UTC (rev 15860)
@@ -1914,13 +1914,6 @@
     if (this._uninstall) {
         torbutton_disable_tor();
 
-        // Reset all browser prefs that torbutton touches just in case
-        // they get horked. Better everything gets set back to default
-        // than some arcane pref gets wedged with no clear way to fix it.
-        // Technical users who tuned these by themselves will be able to fix it.
-        // It's the non-technical ones we should make it easy for
-        torbutton_reset_browser_prefs();
-
         /*
         if(m_tb_prefs.prefHasUserValue("browser.send_pings"))
             m_tb_prefs.clearUserPref("browser.send_pings");