aboutsummaryrefslogtreecommitdiffstats
path: root/src/chrome
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/chrome/content/proxy.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/chrome/content/proxy.js b/src/chrome/content/proxy.js
index 8c94d0f..85664dc 100644
--- a/src/chrome/content/proxy.js
+++ b/src/chrome/content/proxy.js
@@ -65,9 +65,11 @@ function mproxy_initProxy(event){
//Populate Proxy List
mproxy_populateList();
- //Set Last Proxy Selected
- if(gSwitchP_List != null)
- gSwitchP_LastItem = gSwitchP_List.selectedItem;
+ //Set Last Proxy Selected
+ if (gSwitchP_List != null) {
+ gSwitchP_List.selectedItem.value = gSwitchP_Prefs.getCharPref("mproxy.proxy.current");
+ gSwitchP_LastItem = gSwitchP_List.selectedItem;
+ }
//Add Preferences Listener
var oProxyObserver = {
@@ -96,7 +98,7 @@ oPrefBranch.addObserver("mproxy.proxy.rdf.lastupdate", oProxyObserver, false);
// Start Anon Rotation
//setTimeout("mproxy_anon_nextProxy()", 1000);
-
+ mproxy_setProxy(true);
gSwitchP_Loaded = true;
}
}
c?id=b35fc3f8cbd2ddda61fc256e771c61efc0457a59&follow=1'>timer.c: two small optimizations (removed "flag"; tv_usec can't be negative)mzuther1-7/+4 2010-02-07added grouping of widgets by update interval (new file "timer_group.c")mzuther13-168/+441 2010-02-07BUG: handle negative delays in timer_process() (timer.c)mzuther1-0/+4 2010-02-06timer.c: I had forgotten how to initialize a "struct" :)mzuther1-3/+4 2010-02-06BUG: compensate timers for processing delay ("timer.c")mzuther1-1/+3 2010-02-06timer.c: exchanged "proprietary code" with timeradd() and timersub() functionsmzuther1-14/+10 2010-02-04timer.c: removed fruitless changes to variable "flag" from timer_process()mzuther1-2/+0 2010-02-04According to its man page, timercmp() is broken on some systems -- applied th...mzuther1-1/+1 2010-02-04small warning removedmichael1-1/+1 2010-02-04clear errno after creating the FIFO by Claas Hilbrechtmichael1-0/+2