summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-23 02:54:53 +0000
committerMatt Wilson <msw@redhat.com>1999-09-23 02:54:53 +0000
commit9b8af2921ef94698ae0f40535c599a02cf1515a5 (patch)
tree7fc94ca1925c5955e3fdfee03654749050eae93a /gui.py
parent861eba4c728df31ae0074aadfe6e3d2f1d216286 (diff)
downloadanaconda-9b8af2921ef94698ae0f40535c599a02cf1515a5.tar.gz
anaconda-9b8af2921ef94698ae0f40535c599a02cf1515a5.tar.xz
anaconda-9b8af2921ef94698ae0f40535c599a02cf1515a5.zip
FIX DEADLOCK...
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/gui.py b/gui.py
index 82bdda2b6..fa0970d5e 100755
--- a/gui.py
+++ b/gui.py
@@ -58,8 +58,10 @@ class WaitWindow:
self.window.add (frame)
self.window.show_all ()
gdk_flush ()
- while events_pending ():
- mainiteration (FALSE)
+ thread = currentThread ()
+ if thread.getName () == "gtk_main":
+ while events_pending ():
+ mainiteration (FALSE)
threads_leave ()
def pop(self):