summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui.py b/gui.py
index 8ed447838..162777979 100755
--- a/gui.py
+++ b/gui.py
@@ -60,9 +60,9 @@ class WaitWindow:
gdk_flush ()
thread = currentThread ()
print thread.getName ()
-# if thread.getName () == "gtk_main":
- while events_pending ():
- mainiteration (FALSE)
+ if thread.getName () == "gtk_main":
+ while events_pending ():
+ mainiteration (FALSE)
threads_leave ()
def pop(self):