[network-manager-libreswan/lr/ui-polish: 5/5] properties: hide the advanced options



commit e3a56da48f49327b7ee381d9a33c3898df1f083c
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Mon Jan 25 17:59:36 2016 +0100

    properties: hide the advanced options

 properties/nm-libreswan-dialog.ui |   60 +++++++++++++++---------------------
 1 files changed, 25 insertions(+), 35 deletions(-)
---
diff --git a/properties/nm-libreswan-dialog.ui b/properties/nm-libreswan-dialog.ui
index 0c77418..0c526a6 100644
--- a/properties/nm-libreswan-dialog.ui
+++ b/properties/nm-libreswan-dialog.ui
@@ -194,25 +194,11 @@
       </packing>
     </child>
     <child>
-      <object class="GtkBox" id="vbox11">
+      <object class="GtkExpander" id="expander1">
+        <property name="width_request">350</property>
+        <property name="height_request">150</property>
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
-        <property name="orientation">vertical</property>
-        <property name="spacing">6</property>
-        <child>
-          <object class="GtkLabel" id="label25">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="label" translatable="yes">&lt;b&gt;Advanced&lt;/b&gt;</property>
-            <property name="use_markup">True</property>
-            <property name="xalign">0</property>
-          </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">False</property>
-            <property name="position">0</property>
-          </packing>
-        </child>
+        <property name="can_focus">True</property>
         <child>
           <object class="GtkGrid" id="table3">
             <property name="visible">True</property>
@@ -223,18 +209,6 @@
             <property name="row_spacing">6</property>
             <property name="column_spacing">16</property>
             <child>
-              <object class="GtkLabel" id="label27">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="label" translatable="yes">Phase1 Algorithms:</property>
-                <property name="xalign">0</property>
-              </object>
-              <packing>
-                <property name="left_attach">0</property>
-                <property name="top_attach">0</property>
-              </packing>
-            </child>
-            <child>
               <object class="GtkLabel" id="label1">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
@@ -294,12 +268,28 @@
                 <property name="top_attach">2</property>
               </packing>
             </child>
+            <child>
+              <object class="GtkLabel" id="label27">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="label" translatable="yes">Phase1 Algorithms:</property>
+                <property name="xalign">0</property>
+              </object>
+              <packing>
+                <property name="left_attach">0</property>
+                <property name="top_attach">0</property>
+              </packing>
+            </child>
+          </object>
+        </child>
+        <child type="label">
+          <object class="GtkLabel" id="label5">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="label" translatable="yes">Ad_vanced</property>
+            <property name="use_underline">True</property>
+            <property name="ellipsize">end</property>
           </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">True</property>
-            <property name="position">1</property>
-          </packing>
         </child>
       </object>
       <packing>


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