diff options
author | kali <kali@leap.se> | 2013-01-17 07:31:59 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2013-01-17 07:32:30 +0900 |
commit | 6e9c63f47b98fbfcd3a5104fbfa5cc9d9ffe5143 (patch) | |
tree | 347c0e62abba34caf0f41b4e85b15d3fbf8cbc6c /src/leap/app.py | |
parent | d6c8cb0f12e8924820c296a8114a7899f61e5180 (diff) |
osx fixed already running instance check
Diffstat (limited to 'src/leap/app.py')
-rw-r--r-- | src/leap/app.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/leap/app.py b/src/leap/app.py index 5f4fd656..912e390d 100644 --- a/src/leap/app.py +++ b/src/leap/app.py @@ -89,6 +89,10 @@ def main(): app.setApplicationName("leap") app.setOrganizationDomain("leap.se") + # XXX we could check here + # if leap-client is already running, and abort + # gracefully in that case. + if not QSystemTrayIcon.isSystemTrayAvailable(): QMessageBox.critical(None, "Systray", "I couldn't detect" |