[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] Refresh windows immediately to make sure they appear.



For some reason, WaitWindows have stopped appearing sometimes.  This causes
anaconda to look like it's hung.  If we refresh immediately after creating
the window, it will appear.
---
 gui.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/gui.py b/gui.py
index f1443ed..3c1b6fd 100755
--- a/gui.py
+++ b/gui.py
@@ -466,6 +466,7 @@ class WaitWindow:
         addFrame(self.window, showtitle = 0)
         self.window.show_all()
         rootPushBusyCursor()
+        self.refresh()
 
     def refresh(self):
         processEvents()
@@ -504,6 +505,7 @@ class ProgressWindow:
         addFrame(self.window, showtitle = 0)
         self.window.show_all ()
         rootPushBusyCursor()
+        self.refresh()
 
     def refresh(self):
         processEvents()
-- 
1.6.1.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]