[or-cvs] [torbutton/master 09/15] ensure we gray the radio buttons
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 01:48:06 +0200
Subject: ensure we gray the radio buttons
Commit: 65abcade45c8fc047b48071b525c4ad1933be089
---
src/chrome/content/preferences.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/chrome/content/preferences.js b/src/chrome/content/preferences.js
index 903b072..653dd99 100644
--- a/src/chrome/content/preferences.js
+++ b/src/chrome/content/preferences.js
@@ -145,7 +145,9 @@ function torbutton_prefs_init(doc) {
doc.getElementById('torbutton_noProxiesOn').value = o_torprefs.getCharPref('no_proxies_on');
// Transparent Torification magic
- doc.getElementById('torbutton_transparentTor').selected = o_torprefs.getBoolPref('torbutton_transparentTor');
+ if (o_torprefs.getBoolPref('torbutton_transparentTor')) {
+ doc.getElementById('torbutton_settingsMethod').selectedItem = doc.getElementById('torbutton_transparentTor');
+ }
// doc.getElementById('torbutton_warnUponExcludedSite').checked = o_torprefs.getBoolPref('prompt_before_visiting_excluded_sites');
--
1.7.1
More information about the tor-commits
mailing list