[gnome-boxes/improve-storage-management-ux: 5/5] preferences, resources-page: Reorder ram, cpu, storage rows




commit a5f08175722de9858c5face79602560e47dbbde7
Author: Felipe Borges <felipeborges gnome org>
Date:   Tue Dec 14 12:04:13 2021 +0100

    preferences, resources-page: Reorder ram, cpu, storage rows

 data/ui/preferences/resources-page.ui | 28 ++++++++++++++--------------
 src/preferences/resources-page.vala   |  4 ++--
 2 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/data/ui/preferences/resources-page.ui b/data/ui/preferences/resources-page.ui
index cec4d6a5..3a1aae74 100644
--- a/data/ui/preferences/resources-page.ui
+++ b/data/ui/preferences/resources-page.ui
@@ -66,20 +66,6 @@
         <property name="visible">True</property>
         <property name="title" translatable="yes">Resources</property>
 
-        <child>
-          <object class="BoxesRamRow" id="ram_row">
-            <property name="visible">True</property>
-            <property name="title" translatable="yes">Memory</property>
-          </object>
-        </child>
-
-        <child>
-          <object class="BoxesStorageRow" id="storage_row">
-            <property name="visible">True</property>
-            <property name="title" translatable="yes">Storage limit</property>
-          </object>
-        </child>
-
         <child>
           <object class="HdyActionRow">
             <property name="visible">True</property>
@@ -98,6 +84,20 @@
           </object>
         </child>
 
+        <child>
+          <object class="BoxesRamRow" id="ram_row">
+            <property name="visible">True</property>
+            <property name="title" translatable="yes">Memory</property>
+          </object>
+        </child>
+
+        <child>
+          <object class="BoxesStorageRow" id="storage_row">
+            <property name="visible">True</property>
+            <property name="title" translatable="yes">Storage limit</property>
+          </object>
+        </child>
+
         <child>
           <object class="HdyActionRow" id="acceleration_3d_row">
             <property name="visible">True</property>
diff --git a/src/preferences/resources-page.vala b/src/preferences/resources-page.vala
index 7a754a6d..9e9a92a3 100644
--- a/src/preferences/resources-page.vala
+++ b/src/preferences/resources-page.vala
@@ -23,12 +23,12 @@
     [GtkChild]
     private unowned Hdy.PreferencesGroup resources_group;
     [GtkChild]
+    private unowned Gtk.SpinButton cpus_spin_button;
+    [GtkChild]
     private unowned Boxes.RamRow ram_row;
     [GtkChild]
     private unowned Boxes.StorageRow storage_row;
     [GtkChild]
-    private unowned Gtk.SpinButton cpus_spin_button;
-    [GtkChild]
     private unowned Hdy.ActionRow acceleration_3d_row;
     [GtkChild]
     private unowned Gtk.Switch acceleration_3d_toggle;


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