fix merge
[stack/code/dboxswitch.git] / dboxswitch / gui.py
similarity index 98%
rename from gui.py
rename to dboxswitch/gui.py
index 8f7cbe9..ae2c3c8 100644 (file)
--- a/gui.py
@@ -49,10 +49,10 @@ class Gui(QtGui.QDialog):
 
         self.app = QtGui.QApplication(sys.argv)
         for i in range(3):
-            if not QtGui.QSystemTrayIcon.isSystemTrayAvailable():
-                sleep(4)
-            else:
-                break
+               if not QtGui.QSystemTrayIcon.isSystemTrayAvailable():
+                    sleep(4)
+                else:
+                    break
         #check if system tray is avaiable on the system
         if not QtGui.QSystemTrayIcon.isSystemTrayAvailable():
             QtGui.QMessageBox.critical(None, "Systray",