summaryrefslogtreecommitdiff
path: root/src/leap/baseapp/systray.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-09-04 06:01:50 +0900
committerkali <kali@leap.se>2012-09-04 06:01:50 +0900
commitb0b2b342b698bbe5851e9312cd830938f8d564a5 (patch)
tree041e6bdd55e6c94765d9c8830256bd6a5c452ce3 /src/leap/baseapp/systray.py
parent3fbc512a49923ac73d2413a083e0bb1f7e163866 (diff)
further cleaning of main window by moving init functions
to their base classes. plus a bit of juggling with order.
Diffstat (limited to 'src/leap/baseapp/systray.py')
-rw-r--r--src/leap/baseapp/systray.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/leap/baseapp/systray.py b/src/leap/baseapp/systray.py
index 7ef5cb01..249a4f7e 100644
--- a/src/leap/baseapp/systray.py
+++ b/src/leap/baseapp/systray.py
@@ -6,6 +6,17 @@ from leap.gui import mainwindow_rc
class StatusAwareTrayIcon(object):
+ def __init__(self, *args, **kwargs):
+ # StatusAwareTrayIcon init ###################
+ self.createIconGroupBox()
+ self.createActions()
+ self.createTrayIcon()
+
+ self.trayIcon.show()
+ ##############################################
+
+ self.timer = QtCore.QTimer()
+
def createIconGroupBox(self):
"""
dummy icongroupbox