[gnome-control-center] sharing: Move the "Remote Login" dialog Switch into the dialog



commit 5796d83ccdd74110b0299ae443b9f3a744b1833d
Author: Felipe Borges <felipeborges gnome org>
Date:   Thu Aug 24 13:57:56 2017 +0200

    sharing: Move the "Remote Login" dialog Switch into the dialog
    
    https://bugzilla.gnome.org/show_bug.cgi?id=786650

 panels/sharing/sharing.ui |   39 ++++++++++++++++++++++++++++-----------
 1 files changed, 28 insertions(+), 11 deletions(-)
---
diff --git a/panels/sharing/sharing.ui b/panels/sharing/sharing.ui
index 63c311f..af4294d 100644
--- a/panels/sharing/sharing.ui
+++ b/panels/sharing/sharing.ui
@@ -430,6 +430,7 @@
         <property name="can_focus">False</property>
         <property name="orientation">vertical</property>
         <property name="spacing">2</property>
+        <property name="margin">12</property>
         <child>
           <object class="GtkBox" id="box9">
             <property name="visible">True</property>
@@ -477,19 +478,35 @@
             <property name="position">1</property>
           </packing>
         </child>
-      </object>
-    </child>
-    <child type="titlebar">
-      <object class="GtkHeaderBar" id="remote-login-headerbar">
-        <property name="visible">True</property>
-        <property name="can_focus">False</property>
-        <property name="title" translatable="yes">Remote Login</property>
-        <property name="show_close_button">True</property>
         <child>
-          <object class="GtkSwitch" id="remote-login-switch">
+          <object class="GtkBox">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="valign">center</property>
+            <property name="can_focus">True</property>
+            <style>
+              <class name="frame"/>
+              <class name="view"/>
+            </style>
+            <child>
+              <object class="GtkBox">
+                <property name="visible">True</property>
+                <property name="margin">12</property>
+                <child>
+                  <object class="GtkLabel">
+                    <property name="visible">True</property>
+                    <property name="label" translatable="yes">Remote Login</property>
+                    <property name="hexpand">True</property>
+                    <property name="xalign">0</property>
+                  </object>
+                </child>
+                <child>
+                  <object class="GtkSwitch" id="remote-login-switch">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="halign">end</property>
+                  </object>
+                </child>
+              </object>
+            </child>
           </object>
         </child>
       </object>


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