[gnome-control-center] Fix the HdyActionRow child order



commit 684d1202c16349e624035419d4cff518f97940aa
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Fri Jul 3 12:58:28 2020 +0200

    Fix the HdyActionRow child order
    
    In libhandy 0.0, action children were added from the end to the start,
    in libhandy 1 it is from the start to the end, so the order they are
    added to the row need to be reversed.

 panels/network/network-ethernet.ui | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/panels/network/network-ethernet.ui b/panels/network/network-ethernet.ui
index 5736f101dd..3922828721 100644
--- a/panels/network/network-ethernet.ui
+++ b/panels/network/network-ethernet.ui
@@ -82,6 +82,15 @@
                     <property name="can_focus">False</property>
                     <property name="selectable">False</property>
                     <property name="title">Cable unplugged</property>
+                    <child>
+                      <object class="GtkSwitch" id="device_off_switch">
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="halign">end</property>
+                        <property name="valign">center</property>
+                        <signal name="notify::active" handler="device_off_switch_changed_cb" 
object="NetDeviceEthernet" swapped="yes"/>
+                      </object>
+                    </child>
                     <child>
                       <object class="GtkButton" id="details_button">
                         <property name="visible">True</property>
@@ -104,15 +113,6 @@
                        </child>
                      </object>
                     </child>
-                    <child>
-                      <object class="GtkSwitch" id="device_off_switch">
-                        <property name="visible">True</property>
-                        <property name="can_focus">True</property>
-                        <property name="halign">end</property>
-                        <property name="valign">center</property>
-                        <signal name="notify::active" handler="device_off_switch_changed_cb" 
object="NetDeviceEthernet" swapped="yes"/>
-                      </object>
-                    </child>
                   </object>
                 </child>
               </object>


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