summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-05-29 10:32:32 -0400
committerChris Lumens <clumens@redhat.com>2009-05-29 10:35:40 -0400
commit48ebe93bb6d76dcabc98fb4f1af6375f7464ff5f (patch)
treea255b864859440af2b896e2a00bdc8ab107956a6
parent5eb505e744f9fa0ebf2c7ddc8bb6af2c47824bd8 (diff)
downloadanaconda-48ebe93bb6d76dcabc98fb4f1af6375f7464ff5f.tar.gz
anaconda-48ebe93bb6d76dcabc98fb4f1af6375f7464ff5f.tar.xz
anaconda-48ebe93bb6d76dcabc98fb4f1af6375f7464ff5f.zip
Make progress bars modal (#493263, #498553, rstrode).
Without this patch, you were able to click Next earlier than you should be allowed to which led to skipping steps and some very bizarre behavior.
-rwxr-xr-xgui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui.py b/gui.py
index 86126e670..babeb0d89 100755
--- a/gui.py
+++ b/gui.py
@@ -453,8 +453,8 @@ class WaitWindow:
self.window.set_transient_for(parent)
else:
self.window = gtk.Window(gtk.WINDOW_POPUP)
- self.window.set_modal(True)
-
+
+ self.window.set_modal(True)
self.window.set_title(title)
self.window.set_position(gtk.WIN_POS_CENTER)
label = WrappingLabel(text)