[f21/master] Enter the progress hub with the spinner stopped (#1160484)
Brian C. Lane
bcl at redhat.com
Wed Nov 5 22:15:04 UTC 2014
On Wed, Nov 05, 2014 at 04:57:44PM -0500, David Shea wrote:
> 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
Ack.
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
More information about the anaconda-patches
mailing list