summaryrefslogtreecommitdiff
path: root/src/leap/baseapp/systray.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-11-14 02:53:28 +0900
committerkali <kali@leap.se>2012-11-14 02:53:28 +0900
commite111e9de0d33d12503233e754e2e4b01133acec9 (patch)
tree51a80d552d38faa952c500a6a99610ec3e30b6c7 /src/leap/baseapp/systray.py
parentbd33a6bf8e6b56b4cfa5e2b008edc18d5f6a0c3a (diff)
hide the systray icon until the firstrun wizard is complete
Closes #762
Diffstat (limited to 'src/leap/baseapp/systray.py')
-rw-r--r--src/leap/baseapp/systray.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/leap/baseapp/systray.py b/src/leap/baseapp/systray.py
index 94a7a8f2..49f044aa 100644
--- a/src/leap/baseapp/systray.py
+++ b/src/leap/baseapp/systray.py
@@ -44,12 +44,14 @@ class StatusAwareTrayIconMixin(object):
self.createIconGroupBox()
self.createActions()
self.createTrayIcon()
- #logger.debug('showing tray icon................')
- self.trayIcon.show()
# not sure if this really belongs here, but...
self.timer = QtCore.QTimer()
+ def show_systray_icon(self):
+ #logger.debug('showing tray icon................')
+ self.trayIcon.show()
+
def createIconGroupBox(self):
"""
dummy icongroupbox