[f21/master] Enter the progress hub with the spinner stopped (#1160484)

David Shea dshea at redhat.com
Wed Nov 5 21:57:44 UTC 2014


Workaround an issue with the progress hub not being able to draw
anything. Having a the spinner running when the hub is loaded seems too
much to handle in some environments, but deferring the spinner start to
the refresh call gets things to display. The problem is still evident by
the spinner itself failing to draw completely, but this is much less
severe a problem.
---
 pyanaconda/ui/gui/hubs/progress.glade | 1 -
 pyanaconda/ui/gui/hubs/progress.py    | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/hubs/progress.glade b/pyanaconda/ui/gui/hubs/progress.glade
index f459ce0..f9a03eb 100644
--- a/pyanaconda/ui/gui/hubs/progress.glade
+++ b/pyanaconda/ui/gui/hubs/progress.glade
@@ -71,7 +71,6 @@
                           <object class="GtkSpinner" id="progressSpinner">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
-                            <property name="active">True</property>
                           </object>
                           <packing>
                             <property name="expand">False</property>
diff --git a/pyanaconda/ui/gui/hubs/progress.py b/pyanaconda/ui/gui/hubs/progress.py
index 95883ba..0bc2dab 100644
--- a/pyanaconda/ui/gui/hubs/progress.py
+++ b/pyanaconda/ui/gui/hubs/progress.py
@@ -252,6 +252,7 @@ class ProgressHub(Hub):
         Hub.refresh(self)
 
         self._start_ransom_notes()
+        self._restart_spinner()
         GLib.timeout_add(250, self._update_progress, self._install_done)
         threadMgr.add(AnacondaThread(name=THREAD_INSTALL, target=doInstall,
                                      args=(self.storage, self.payload, self.data, self.instclass)))
-- 
2.1.0



More information about the anaconda-patches mailing list