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

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

 



Ack.

On 03/30/2009 10:54 AM, Chris Lumens wrote:
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()


--
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux