aiorpcx: socks support
This commit is contained in:
@@ -14,7 +14,7 @@ Popup:
|
||||
height: '48dp'
|
||||
size_hint_y: None
|
||||
text: app.proxy_config.get('mode', 'none')
|
||||
values: ['none', 'socks4', 'socks5', 'http']
|
||||
values: ['none', 'socks4', 'socks5']
|
||||
Label:
|
||||
text: _('Host')
|
||||
TextInput:
|
||||
|
||||
@@ -239,7 +239,7 @@ class NetworkChoiceLayout(object):
|
||||
self.proxy_cb.clicked.connect(self.set_proxy)
|
||||
|
||||
self.proxy_mode = QComboBox()
|
||||
self.proxy_mode.addItems(['SOCKS4', 'SOCKS5', 'HTTP'])
|
||||
self.proxy_mode.addItems(['SOCKS4', 'SOCKS5'])
|
||||
self.proxy_host = QLineEdit()
|
||||
self.proxy_host.setFixedWidth(200)
|
||||
self.proxy_port = QLineEdit()
|
||||
|
||||
Reference in New Issue
Block a user