66 |
66 |
67 # set initial values |
67 # set initial values |
68 self.downloadDirPicker.setText(Preferences.getUI("DownloadPath")) |
68 self.downloadDirPicker.setText(Preferences.getUI("DownloadPath")) |
69 self.requestFilenameCheckBox.setChecked( |
69 self.requestFilenameCheckBox.setChecked( |
70 Preferences.getUI("RequestDownloadFilename")) |
70 Preferences.getUI("RequestDownloadFilename")) |
|
71 try: |
|
72 except ImportError: |
|
73 self.cleanupGroup.hide() |
71 |
74 |
72 # HTTP proxy |
75 # HTTP proxy |
73 self.httpProxyHostEdit.setText( |
76 self.httpProxyHostEdit.setText( |
74 Preferences.getUI("ProxyHost/Http")) |
77 Preferences.getUI("ProxyHost/Http")) |
75 self.httpProxyPortSpin.setValue( |
78 self.httpProxyPortSpin.setValue( |