[PATCH 3/3] Don't unbusy the cursor until the first action is ready to display.

Chris Lumens clumens at redhat.com
Fri Mar 15 18:17:15 UTC 2013


My goal here is to make it seem like we're taking less time to set up.
---
 pyanaconda/ui/gui/__init__.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pyanaconda/ui/gui/__init__.py b/pyanaconda/ui/gui/__init__.py
index 7ace103..db9ea5f 100644
--- a/pyanaconda/ui/gui/__init__.py
+++ b/pyanaconda/ui/gui/__init__.py
@@ -362,10 +362,6 @@ class GraphicalUserInterface(UserInterface):
                 return
 
         self._currentAction.initialize()
-
-        # Do this at the last possible minute.
-        unbusyCursor()
-
         self._currentAction.refresh()
 
         self._currentAction.window.set_beta(not self._isFinal)
@@ -376,6 +372,10 @@ class GraphicalUserInterface(UserInterface):
         settings.set_property("gtk-font-name", "Cantarell")
 
         self._currentAction.window.show_all()
+
+        # Do this at the last possible minute.
+        unbusyCursor()
+
         Gtk.main()
 
     ###
-- 
1.8.1.2



More information about the anaconda-patches mailing list