summaryrefslogtreecommitdiff
path: root/src/leap/base/connection.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-09-20 05:00:32 +0900
committerkali <kali@leap.se>2012-09-20 05:00:32 +0900
commit1ab8247ecb8664af5159b7f1e050189f5e637146 (patch)
tree1fac7766356a2a69870fd0e00fd306131bd036a9 /src/leap/base/connection.py
parent50396fca082652dd1a1617e0d029c1c726e4c651 (diff)
parent3c7451d62363d0a3326552956db630dda09392fa (diff)
Merge branch 'feature/systray-menu' into develop
Close #536. Cleaning up of the systray menu. Main window starts hidden if not in debug mode. Incidentally, some fixes related to the subprocess invocation and termination, removing many of the annoying hangs during debug.
Diffstat (limited to 'src/leap/base/connection.py')
-rw-r--r--src/leap/base/connection.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/leap/base/connection.py b/src/leap/base/connection.py
index f594d21c..e478538d 100644
--- a/src/leap/base/connection.py
+++ b/src/leap/base/connection.py
@@ -5,7 +5,6 @@ from __future__ import (division, unicode_literals, print_function)
import logging
-#from leap.base.config import JSONLeapConfig
from leap.base.authentication import Authentication
logger = logging.getLogger(name=__name__)
@@ -56,22 +55,6 @@ class Connection(Authentication):
"""
return self.desired_connection_state
- #def poll_connection_state(self):
- #"""
- #"""
- #try:
- #state = self.get_connection_state()
- #except ConnectionRefusedError:
- # connection refused. might be not ready yet.
- #return
- #if not state:
- #return
- #(ts, status_step,
- #ok, ip, remote) = state
- #self.status.set_vpn_state(status_step)
- #status_step = self.status.get_readable_status()
- #return (ts, status_step, ok, ip, remote)
-
def get_icon_name(self):
"""
get icon name from status object