diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-07-02 12:14:59 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-07-14 12:14:20 -0300 |
commit | 13c0b7cac822a33f7395e3f099a2d37251e2c759 (patch) | |
tree | dce4f3fa80a3b6e9fade199fdff30a5c055a8cab /src/leap/bitmask/backend/leapsignaler.py | |
parent | cf75e3575c33249a6f756dceb423c6ec7f6cd50e (diff) |
Ask the backend for the country code.
Remove global variable in favor of a helper method that returns the
country code.
Needed in order to split backend/frontend.
Diffstat (limited to 'src/leap/bitmask/backend/leapsignaler.py')
-rw-r--r-- | src/leap/bitmask/backend/leapsignaler.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leap/bitmask/backend/leapsignaler.py b/src/leap/bitmask/backend/leapsignaler.py index 47df0911..7912fc20 100644 --- a/src/leap/bitmask/backend/leapsignaler.py +++ b/src/leap/bitmask/backend/leapsignaler.py @@ -37,10 +37,12 @@ class LeapSignaler(SignalerQt): eip_disconnected = QtCore.Signal(object) eip_dns_error = QtCore.Signal() eip_dns_ok = QtCore.Signal() + eip_get_gateway_country_code = QtCore.Signal(object) eip_get_gateways_list = QtCore.Signal(object) eip_get_gateways_list_error = QtCore.Signal() eip_get_initialized_providers = QtCore.Signal(object) eip_network_unreachable = QtCore.Signal() + eip_no_gateway = QtCore.Signal() eip_no_pkexec_error = QtCore.Signal() eip_no_polkit_agent_error = QtCore.Signal() eip_no_tun_kext_error = QtCore.Signal() |