Preferences/ConfigurationPages/NetworkPage.py

changeset 1127
b1802ebe0066
parent 945
8cd4d08fa9f6
child 1131
7781e396c903
equal deleted inserted replaced
1123:4ed80ed7e433 1127:b1802ebe0066
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

eric ide

mercurial