Preferences/ConfigurationPages/NetworkPage.py

changeset 270
41505c92ac31
parent 55
b5c84934de9c
child 286
652f5159f1c3
child 792
a13346916170
diff -r 56e0107f2b01 -r 41505c92ac31 Preferences/ConfigurationPages/NetworkPage.py
--- a/Preferences/ConfigurationPages/NetworkPage.py	Sat May 22 15:00:13 2010 +0200
+++ b/Preferences/ConfigurationPages/NetworkPage.py	Sat May 22 20:01:58 2010 +0200
@@ -45,6 +45,10 @@
         
         self.proxyGroup.setChecked(\
             Preferences.getUI("UseProxy"))
+        if Preferences.getUI("UseSystemProxy"):
+            self.systemProxyButton.setChecked(True)
+        else:
+            self.manualProxyButton.setChecked(True)
         self.proxyTypeCombo.setCurrentIndex(self.proxyTypeCombo.findData(\
             Preferences.getUI("ProxyType")))
         self.proxyHostEdit.setText(\
@@ -67,6 +71,8 @@
         
         Preferences.setUI("UseProxy",
             self.proxyGroup.isChecked())
+        Preferences.setUI("UseSystemProxy", 
+            self.systemProxyButton.isChecked())
         Preferences.setUI("ProxyType", 
             self.proxyTypeCombo.itemData(self.proxyTypeCombo.currentIndex()))
         Preferences.setUI("ProxyHost",
@@ -102,4 +108,4 @@
     @param dlg reference to the configuration dialog
     """
     page = NetworkPage()
-    return page
\ No newline at end of file
+    return page

eric ide

mercurial