Preferences/ConfigurationPages/NetworkPage.py

changeset 5047
04e5dfbd3f3d
parent 4913
e16573640cb8
child 5389
9b1c800daff3
equal deleted inserted replaced
5042:021d99e03961 5047:04e5dfbd3f3d
63 self.tr("AUTH and RESP"), E5FtpProxyType.AuthResp) 63 self.tr("AUTH and RESP"), E5FtpProxyType.AuthResp)
64 self.ftpProxyTypeCombo.addItem( 64 self.ftpProxyTypeCombo.addItem(
65 self.tr("Bluecoat Proxy"), E5FtpProxyType.Bluecoat) 65 self.tr("Bluecoat Proxy"), E5FtpProxyType.Bluecoat)
66 66
67 # set initial values 67 # set initial values
68 self.dynamicOnlineCheckBox.setChecked(
69 Preferences.getUI("DynamicOnlineCheck"))
68 self.downloadDirPicker.setText(Preferences.getUI("DownloadPath")) 70 self.downloadDirPicker.setText(Preferences.getUI("DownloadPath"))
69 self.requestFilenameCheckBox.setChecked( 71 self.requestFilenameCheckBox.setChecked(
70 Preferences.getUI("RequestDownloadFilename")) 72 Preferences.getUI("RequestDownloadFilename"))
71 73
72 # HTTP proxy 74 # HTTP proxy
153 def save(self): 155 def save(self):
154 """ 156 """
155 Public slot to save the Networj configuration. 157 Public slot to save the Networj configuration.
156 """ 158 """
157 Preferences.setUI( 159 Preferences.setUI(
160 "DynamicOnlineCheck",
161 self.dynamicOnlineCheckBox.isChecked())
162 Preferences.setUI(
158 "DownloadPath", 163 "DownloadPath",
159 self.downloadDirPicker.text()) 164 self.downloadDirPicker.text())
160 Preferences.setUI( 165 Preferences.setUI(
161 "RequestDownloadFilename", 166 "RequestDownloadFilename",
162 self.requestFilenameCheckBox.isChecked()) 167 self.requestFilenameCheckBox.isChecked())

eric ide

mercurial