summaryrefslogtreecommitdiff
path: root/src/leap/app.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-09-12 21:29:49 +0000
committerkali <kali@leap.se>2012-09-12 08:42:29 +0900
commit18109193b239be6e7ecc4c2d07c9c999e33081f8 (patch)
tree6346f7251578a0c0e7375a4ce7c2c22ea8e3f6bd /src/leap/app.py
parent3fa754c39bcdea355a4ec6b0ddfaeead2040a86a (diff)
checks for systray in unity
Diffstat (limited to 'src/leap/app.py')
-rw-r--r--src/leap/app.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/app.py b/src/leap/app.py
index 5849848c..322118c5 100644
--- a/src/leap/app.py
+++ b/src/leap/app.py
@@ -1,3 +1,4 @@
+# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
import logging
# This is only needed for Python v2 but is harmless for Python v3.
import sip
@@ -5,6 +6,7 @@ sip.setapi('QVariant', 2)
from PyQt4.QtGui import (QApplication, QSystemTrayIcon, QMessageBox)
from leap.baseapp.mainwindow import LeapWindow
+from leap.baseapp import unitychecks
def main():
@@ -45,6 +47,7 @@ def main():
logger.info('Starting app')
app = QApplication(sys.argv)
+ unitychecks.do_check()
if not QSystemTrayIcon.isSystemTrayAvailable():
QMessageBox.critical(None, "Systray",