[gnome-software] Rework header widgetry a bit



commit 1f6af9d5ed12482659924f2af01e3d392f1f7848
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Aug 22 21:43:38 2013 -0400

    Rework header widgetry a bit
    
    Rework how we show and hide the mode-specific widgetry in the
    header. With this change, we are correctly updating the visibility
    of all the buttons in the header as you are cycling between the
    pages, even if some of the pages are loading, and show wait
    indicators.

 src/gnome-software.ui |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/gnome-software.ui b/src/gnome-software.ui
index 4bc201a..4f0d640 100644
--- a/src/gnome-software.ui
+++ b/src/gnome-software.ui
@@ -142,6 +142,13 @@
               </object>
             </child>
             <child>
+              <object class="GtkSpinner" id="header_spinner">
+              </object>
+              <packing>
+                <property name="pack_type">end</property>
+              </packing>
+            </child>
+            <child>
               <object class="GtkButton" id="button_update_all">
                 <property name="label" translatable="yes">Restart &amp; Install</property>
                 <property name="visible">True</property>
@@ -182,13 +189,6 @@
               </packing>
             </child>
             <child>
-              <object class="GtkSpinner" id="spinner_wait">
-              </object>
-              <packing>
-                <property name="pack_type">end</property>
-              </packing>
-            </child>
-            <child>
               <object class="GtkButton" id="button_wait">
                 <property name="label" translatable="yes">Refreshing</property>
                 <property name="sensitive">False</property>


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