[gnome-boxes] collection-toolbar: Move the download indicator left of the search button



commit 06ac5565c1b8b27e22827b7e9df5a24df1aed08d
Author: Manuel Wassermann <manuel wassermann97 gmail com>
Date:   Tue Apr 14 02:05:51 2020 +0200

    collection-toolbar: Move the download indicator left of the search button
    
    Move the download indicator, so it is not the
    right most button, but the left most. Now the
    buttons which are always visible such as
    the menu button don't move.
    
    Fixes #496

 data/ui/collection-toolbar.ui | 51 ++++++++++++++++++++++---------------------
 1 file changed, 26 insertions(+), 25 deletions(-)
---
diff --git a/data/ui/collection-toolbar.ui b/data/ui/collection-toolbar.ui
index 2e1d0ce1..e9e641fd 100644
--- a/data/ui/collection-toolbar.ui
+++ b/data/ui/collection-toolbar.ui
@@ -61,31 +61,6 @@
       </object>
     </child>
 
-    <child>
-      <object class="GtkMenuButton" id="downloads_hub_btn">
-        <property name="visible">False</property>
-        <property name="valign">center</property>
-        <property name="use-underline">True</property>
-        <style>
-          <class name="image-button"/>
-        </style>
-        <child internal-child="accessible">
-          <object class="AtkObject">
-            <property name="accessible-name" translatable="yes">Downloads</property>
-          </object>
-        </child>
-        <child>
-          <object class="GtkDrawingArea">
-            <property name="visible">True</property>
-          </object>
-        </child>
-      </object>
-
-      <packing>
-        <property name="pack-type">end</property>
-      </packing>
-    </child>
-
     <child>
       <object class="GtkMenuButton" id="hamburger_btn">
         <property name="visible">True</property>
@@ -196,6 +171,7 @@
         <property name="pack-type">end</property>
       </packing>
     </child>
+
     <child>
       <object class="GtkToggleButton" id="search_btn">
         <property name="visible">True</property>
@@ -222,6 +198,31 @@
         <property name="pack-type">end</property>
       </packing>
     </child>
+
+    <child>
+      <object class="GtkMenuButton" id="downloads_hub_btn">
+        <property name="visible">False</property>
+        <property name="valign">center</property>
+        <property name="use-underline">True</property>
+        <style>
+          <class name="image-button"/>
+        </style>
+        <child internal-child="accessible">
+          <object class="AtkObject">
+            <property name="accessible-name" translatable="yes">Downloads</property>
+          </object>
+        </child>
+        <child>
+          <object class="GtkDrawingArea">
+            <property name="visible">True</property>
+          </object>
+        </child>
+      </object>
+
+      <packing>
+        <property name="pack-type">end</property>
+      </packing>
+    </child>
   </template>
 
   <!-- Assistant Popover -->


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