[or-cvs] r15078: It helps to use the right pref names.. (torbutton/trunk/src/chrome/content)

mikeperry at seul.org mikeperry at seul.org
Mon Jun 9 05:21:07 UTC 2008


Author: mikeperry
Date: 2008-06-09 01:21:07 -0400 (Mon, 09 Jun 2008)
New Revision: 15078

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

It helps to use the right pref names..



Modified: torbutton/trunk/src/chrome/content/torbutton.js
===================================================================
--- torbutton/trunk/src/chrome/content/torbutton.js	2008-06-09 05:17:52 UTC (rev 15077)
+++ torbutton/trunk/src/chrome/content/torbutton.js	2008-06-09 05:21:07 UTC (rev 15078)
@@ -1818,7 +1818,7 @@
         m_tb_prefs.setBoolPref("extensions.torbutton.startup", false);
 
         if(!m_tb_prefs.getBoolPref("extensions.torbutton.crashed")) {
-            var startup_state = m_tb_pref.getIntPref("extensions.torbutton.tor_startup");
+            var startup_state = m_tb_pref.getIntPref("extensions.torbutton.startup_state");
 
             if(startup_state == 0) {
                 torbutton_conditional_set(false); // must be boolean



More information about the tor-commits mailing list