vpn: shorter default label
This commit is contained in:
parent
900a0710c5
commit
3ed26c62a5
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
# pylint: disable=C0111,R0903
|
# pylint: disable=C0111,R0903
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
""" Displays the VPN profile that is currently in use.
|
""" Displays the VPN profile that is currently in use.
|
||||||
|
|
||||||
|
@ -68,7 +69,7 @@ class Module(core.module.Module):
|
||||||
|
|
||||||
def vpn_status(self, widget):
|
def vpn_status(self, widget):
|
||||||
if self.__connected_vpn_profile is None:
|
if self.__connected_vpn_profile is None:
|
||||||
return "off"
|
return ""
|
||||||
return self.__connected_vpn_profile
|
return self.__connected_vpn_profile
|
||||||
|
|
||||||
def __on_vpndisconnect(self):
|
def __on_vpndisconnect(self):
|
||||||
|
|
Loading…
Reference in a new issue