[gnome-control-center] network: More consistent page headings



commit 2de037d88266980bfba6a8771ba1e45979eaaa87
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Feb 1 08:34:54 2013 -0500

    network: More consistent page headings
    
    The vlan page (and other virtual devices) use network-simple.ui,
    and the off switch in that pages heading was not centered relative
    to the rest of the heading, as it is in other pages. This shows
    up as the switch jumping up and down as you switch pages.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693004

 panels/network/network-simple.ui |   36 ++++++++++++++----------------------
 1 files changed, 14 insertions(+), 22 deletions(-)
---
diff --git a/panels/network/network-simple.ui b/panels/network/network-simple.ui
index c69a3e9..379fd3b 100644
--- a/panels/network/network-simple.ui
+++ b/panels/network/network-simple.ui
@@ -82,28 +82,6 @@
               </packing>
             </child>
             <child>
-              <object class="GtkAlignment" id="alignment_switch">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="halign">end</property>
-                <property name="valign">start</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">start</property>
-                  </object>
-                </child>
-              </object>
-              <packing>
-                <property name="left_attach">2</property>
-                <property name="top_attach">0</property>
-                <property name="width">1</property>
-                <property name="height">1</property>
-              </packing>
-            </child>
-            <child>
               <object class="GtkGrid" id="grid">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
@@ -288,6 +266,20 @@
                 <property name="height">1</property>
               </packing>
             </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>
+              </object>
+              <packing>
+                <property name="left_attach">2</property>
+                <property name="top_attach">0</property>
+                <property name="width">1</property>
+                <property name="height">1</property>
+              </packing>
+            </child>
           </object>
           <packing>
             <property name="expand">True</property>


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