eric6/Preferences/ConfigurationPages/NetworkPage.py

changeset 7946
6901746220fc
parent 7923
91e843545d9a
child 8205
4a0f1f896341
equal deleted inserted replaced
7945:76daafe10009 7946:6901746220fc
60 self.tr("AUTH and RESP"), E5FtpProxyType.AuthResp) 60 self.tr("AUTH and RESP"), E5FtpProxyType.AuthResp)
61 self.ftpProxyTypeCombo.addItem( 61 self.ftpProxyTypeCombo.addItem(
62 self.tr("Bluecoat Proxy"), E5FtpProxyType.Bluecoat) 62 self.tr("Bluecoat Proxy"), E5FtpProxyType.Bluecoat)
63 63
64 # set initial values 64 # set initial values
65 self.dynamicOnlineCheckBox.setChecked(
66 Preferences.getUI("DynamicOnlineCheck"))
67 self.downloadDirPicker.setText(Preferences.getUI("DownloadPath")) 65 self.downloadDirPicker.setText(Preferences.getUI("DownloadPath"))
68 self.requestFilenameCheckBox.setChecked( 66 self.requestFilenameCheckBox.setChecked(
69 Preferences.getUI("RequestDownloadFilename")) 67 Preferences.getUI("RequestDownloadFilename"))
70 68
71 # HTTP proxy 69 # HTTP proxy
145 def save(self): 143 def save(self):
146 """ 144 """
147 Public slot to save the Networj configuration. 145 Public slot to save the Networj configuration.
148 """ 146 """
149 Preferences.setUI( 147 Preferences.setUI(
150 "DynamicOnlineCheck",
151 self.dynamicOnlineCheckBox.isChecked())
152 Preferences.setUI(
153 "DownloadPath", 148 "DownloadPath",
154 self.downloadDirPicker.text()) 149 self.downloadDirPicker.text())
155 Preferences.setUI( 150 Preferences.setUI(
156 "RequestDownloadFilename", 151 "RequestDownloadFilename",
157 self.requestFilenameCheckBox.isChecked()) 152 self.requestFilenameCheckBox.isChecked())

eric ide

mercurial