[connections/properties-dialog-tweaks: 2/3] properties: Move "Address" line out of the listbox




commit 35967c657582672522bb560f780862372c7fe83e
Author: Felipe Borges <felipeborges gnome org>
Date:   Fri Nov 20 12:06:56 2020 +0100

    properties: Move "Address" line out of the listbox
    
    It makes more sense to have read-only properties out of the listbox
    and only the editable options in it.

 src/ui/properties.ui | 50 +++++++++++++++++++++-----------------------------
 1 file changed, 21 insertions(+), 29 deletions(-)
---
diff --git a/src/ui/properties.ui b/src/ui/properties.ui
index 99d7fc7..8dfeaf2 100644
--- a/src/ui/properties.ui
+++ b/src/ui/properties.ui
@@ -20,6 +20,27 @@
               <property name="border-width">20</property>
               <property name="spacing">20</property>
 
+              <child>
+                <object class="GtkBox">
+                  <property name="visible">True</property>
+                  <property name="border-width">10</property>
+                  <property name="spacing">30</property>
+
+                  <child>
+                    <object class="GtkLabel" id="address_label">
+                      <property name="visible">True</property>
+                      <property name="label" translatable="yes">Address</property>
+                    </object>
+                  </child>
+
+                  <child>
+                    <object class="GtkLabel" id="host_address_label">
+                      <property name="visible">True</property>
+                    </object>
+                  </child>
+                </object>
+              </child>
+
               <child>
                 <object class="GtkListBox" id="default_properties_listbox">
                   <property name="visible">True</property>
@@ -92,35 +113,6 @@
                     </object>
                   </child>
 
-                  <child>
-                    <object class="GtkListBoxRow">
-                      <property name="visible">True</property>
-
-                      <child>
-                        <object class="GtkBox">
-                          <property name="visible">True</property>
-                          <property name="border-width">10</property>
-                          <property name="spacing">30</property>
-
-                          <child>
-                            <object class="GtkLabel" id="address_label">
-                              <property name="visible">True</property>
-                              <property name="label" translatable="yes">Address</property>
-                            </object>
-                          </child>
-
-                          <child>
-                            <object class="GtkLabel" id="host_address_label">
-                              <property name="visible">True</property>
-                              <style>
-                                <class name="dim-label"/>
-                              </style>
-                            </object>
-                          </child>
-                        </object>
-                      </child>
-                    </object>
-                  </child>
                 </object>
               </child>
 


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