120 dn = Utilities.toNativeSeparators(directory) |
120 dn = Utilities.toNativeSeparators(directory) |
121 while dn.endswith(os.sep): |
121 while dn.endswith(os.sep): |
122 dn = dn[:-1] |
122 dn = dn[:-1] |
123 self.downloadDirEdit.setText(dn) |
123 self.downloadDirEdit.setText(dn) |
124 |
124 |
|
125 @pyqtSlot() |
|
126 def on_clearProxyPasswordsButton_clicked(self): |
|
127 """ |
|
128 Private slot to clear the saved proxy passwords. |
|
129 """ |
|
130 Preferences.setUI("ProxyPassword/Http", "") |
|
131 Preferences.setUI("ProxyPassword/Https", "") |
|
132 Preferences.setUI("ProxyPassword/Ftp", "") |
|
133 |
125 |
134 |
126 def create(dlg): |
135 def create(dlg): |
127 """ |
136 """ |
128 Module function to create the configuration page. |
137 Module function to create the configuration page. |
129 |
138 |