v.licheni.net
/
stack
/
code
/
dboxswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dda2468
)
fixed guy indend typo
author
stack
<stack@inventati.org>
Fri, 19 Apr 2013 01:57:25 +0000
(
03:57
+0200)
committer
stack
<stack@inventati.org>
Fri, 19 Apr 2013 01:57:25 +0000
(
03:57
+0200)
gui.py
patch
|
blob
|
history
diff --git
a/gui.py
b/gui.py
index
bb156a0
..
ae2c3c8
100644
(file)
--- a/
gui.py
+++ b/
gui.py
@@
-50,9
+50,9
@@
class Gui(QtGui.QDialog):
self.app = QtGui.QApplication(sys.argv)
for i in range(3):
if not QtGui.QSystemTrayIcon.isSystemTrayAvailable():
self.app = QtGui.QApplication(sys.argv)
for i in range(3):
if not QtGui.QSystemTrayIcon.isSystemTrayAvailable():
-
sleep(4)
-
else:
-
break
+ sleep(4)
+ else:
+ break
#check if system tray is avaiable on the system
if not QtGui.QSystemTrayIcon.isSystemTrayAvailable():
QtGui.QMessageBox.critical(None, "Systray",
#check if system tray is avaiable on the system
if not QtGui.QSystemTrayIcon.isSystemTrayAvailable():
QtGui.QMessageBox.critical(None, "Systray",