[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r15078: It helps to use the right pref names.. (torbutton/trunk/src/chrome/content)
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