[gnome-disk-utility/wip/cdavis/ui-cleanups: 28/31] smart-dialog: Remove redundant child props




commit 066bd08397381ac6f3830c7ae12de547d7cb6663
Author: Christopher Davis <brainblasted disroot org>
Date:   Sun Feb 7 01:26:33 2021 -0800

    smart-dialog: Remove redundant child props

 src/disks/ui/smart-dialog.ui | 64 +++++---------------------------------------
 1 file changed, 7 insertions(+), 57 deletions(-)
---
diff --git a/src/disks/ui/smart-dialog.ui b/src/disks/ui/smart-dialog.ui
index 2597ee5f..e9559a20 100644
--- a/src/disks/ui/smart-dialog.ui
+++ b/src/disks/ui/smart-dialog.ui
@@ -29,9 +29,6 @@
                 <property name="use_underline">True</property>
               </object>
               <packing>
-                <property name="expand">False</property>
-                <property name="fill">True</property>
-                <property name="position">0</property>
                 <property name="secondary">True</property>
               </packing>
             </child>
@@ -45,9 +42,6 @@
                 <property name="use_underline">True</property>
               </object>
               <packing>
-                <property name="expand">False</property>
-                <property name="fill">True</property>
-                <property name="position">1</property>
                 <property name="secondary">True</property>
               </packing>
             </child>
@@ -59,11 +53,6 @@
                 <property name="receives_default">True</property>
                 <property name="use_stock">True</property>
               </object>
-              <packing>
-                <property name="expand">False</property>
-                <property name="fill">True</property>
-                <property name="position">2</property>
-              </packing>
             </child>
             <child>
               <object class="GtkButton" id="refresh-button">
@@ -75,24 +64,17 @@
                 <property name="use_stock">True</property>
               </object>
               <packing>
-                <property name="expand">False</property>
-                <property name="fill">True</property>
-                <property name="position">3</property>
                 <property name="secondary">True</property>
               </packing>
             </child>
           </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">True</property>
-            <property name="pack_type">end</property>
-            <property name="position">0</property>
-          </packing>
         </child>
         <child>
           <object class="GtkBox" id="content-area">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
+            <property name="hexpand">True</property>
+            <property name="vexpand">True</property>
             <property name="orientation">vertical</property>
             <property name="spacing">12</property>
             <child>
@@ -103,6 +85,8 @@
                   <object class="GtkGrid" id="status-grid">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
+                    <property name="hexpand">True</property>
+                    <property name="vexpand">True</property>
                     <property name="row_spacing">10</property>
                     <property name="column_spacing">10</property>
                     <child>
@@ -304,11 +288,6 @@
                       </packing>
                     </child>
                   </object>
-                  <packing>
-                    <property name="expand">True</property>
-                    <property name="fill">True</property>
-                    <property name="position">0</property>
-                  </packing>
                 </child>
                 <child>
                   <object class="GtkSwitch" id="enabled-switch">
@@ -317,19 +296,8 @@
                     <property name="tooltip_text" translatable="yes">Click to toggle whether SMART is 
enabled for the hard disk</property>
                     <property name="valign">start</property>
                   </object>
-                  <packing>
-                    <property name="expand">False</property>
-                    <property name="fill">True</property>
-                    <property name="pack_type">end</property>
-                    <property name="position">1</property>
-                  </packing>
                 </child>
               </object>
-              <packing>
-                <property name="expand">False</property>
-                <property name="fill">True</property>
-                <property name="position">0</property>
-              </packing>
             </child>
             <child>
               <object class="GtkLabel" id="attributes-label">
@@ -343,20 +311,17 @@
                   <attribute name="weight" value="bold"/>
                 </attributes>
               </object>
-              <packing>
-                <property name="expand">False</property>
-                <property name="fill">True</property>
-                <property name="position">1</property>
-              </packing>
             </child>
             <child>
               <object class="GtkBox" id="attributes-vbox">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
+                <property name="hexpand">True</property>
+                <property name="vexpand">True</property>
                 <property name="margin_start">24</property>
                 <property name="margin_top">6</property>
                 <property name="orientation">vertical</property>
-                <property name="spacing">10</property>
+                <property name="spacing">12</property>
                 <child>
                   <object class="GtkScrolledWindow" id="scrolledwindow1">
                     <property name="width_request">900</property>
@@ -376,25 +341,10 @@
                       </object>
                     </child>
                   </object>
-                  <packing>
-                    <property name="expand">True</property>
-                    <property name="fill">True</property>
-                    <property name="position">0</property>
-                  </packing>
                 </child>
               </object>
-              <packing>
-                <property name="expand">True</property>
-                <property name="fill">True</property>
-                <property name="position">2</property>
-              </packing>
             </child>
           </object>
-          <packing>
-            <property name="expand">True</property>
-            <property name="fill">True</property>
-            <property name="position">1</property>
-          </packing>
         </child>
       </object>
     </child>


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