diff options
| author | Chris Lumens <clumens@redhat.com> | 2012-06-28 11:51:07 -0400 |
|---|---|---|
| committer | Chris Lumens <clumens@redhat.com> | 2012-06-29 09:37:32 -0400 |
| commit | 917334e24816e76db4a25d85d65f2d9554ffd1b0 (patch) | |
| tree | 2e7592e756ca3cab568a896067f82de820b19f3a /pyanaconda | |
| parent | 6f4cd0a3f9e379e4253899e4c1a6c8749fdd5863 (diff) | |
| download | anaconda-917334e24816e76db4a25d85d65f2d9554ffd1b0.tar.gz anaconda-917334e24816e76db4a25d85d65f2d9554ffd1b0.tar.xz anaconda-917334e24816e76db4a25d85d65f2d9554ffd1b0.zip | |
Add a spinner next to the installation progress message.
This is a hint that we're still doing something, even if an individual step
takes a long time.
Diffstat (limited to 'pyanaconda')
| -rw-r--r-- | pyanaconda/ui/gui/hubs/progress.py | 3 | ||||
| -rw-r--r-- | pyanaconda/ui/gui/hubs/progress.ui | 30 |
2 files changed, 30 insertions, 3 deletions
diff --git a/pyanaconda/ui/gui/hubs/progress.py b/pyanaconda/ui/gui/hubs/progress.py index 3a658262e..467b92ccb 100644 --- a/pyanaconda/ui/gui/hubs/progress.py +++ b/pyanaconda/ui/gui/hubs/progress.py @@ -174,3 +174,6 @@ class ProgressHub(Hub): with gdk_threaded(): self._progressBar.set_fraction(1.0) self._progressLabel.set_text(_("Complete!")) + + spinner = self.builder.get_object("progressSpinner") + spinner.stop() diff --git a/pyanaconda/ui/gui/hubs/progress.ui b/pyanaconda/ui/gui/hubs/progress.ui index 76ccd6c3a..1eb32c97e 100644 --- a/pyanaconda/ui/gui/hubs/progress.ui +++ b/pyanaconda/ui/gui/hubs/progress.ui @@ -55,11 +55,35 @@ <property name="orientation">vertical</property> <property name="spacing">6</property> <child> - <object class="GtkLabel" id="progressLabel"> + <object class="GtkBox" id="box1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label" translatable="yes">Preparing to install</property> + <property name="spacing">6</property> + <child> + <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> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="progressLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Preparing to install</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="expand">False</property> |
