[totem] preferences-dialog: Replace GtkTable table3 by GtkGrid



commit 741a341db6dfe441ef2125d519e47a03f0e61756
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Jun 30 21:48:12 2021 -0300

    preferences-dialog: Replace GtkTable table3 by GtkGrid
    
    Remove the "homogeneous" property, since it's set to false
    and GtkGrid's column-homogeneous and row-homogeneous are
    false by default.
    
    Replace the "right_attach" and "bottom_attach" packing
    properties by "width" and "height", respectively, since
    that's what GtkGrid supports.
    
    Next GtkTable -> GtkGrid conversions will look similar to
    this commit.

 data/totem-preferences-dialog.ui | 34 +++++++++++-----------------------
 1 file changed, 11 insertions(+), 23 deletions(-)
---
diff --git a/data/totem-preferences-dialog.ui b/data/totem-preferences-dialog.ui
index 0c4a4d51d..2156c3fdd 100644
--- a/data/totem-preferences-dialog.ui
+++ b/data/totem-preferences-dialog.ui
@@ -155,11 +155,8 @@
                      <property name="right_padding">0</property>
 
                      <child>
-                       <object class="GtkTable" id="table3">
+                       <object class="GtkGrid">
                          <property name="visible">True</property>
-                         <property name="n_rows">3</property>
-                         <property name="n_columns">2</property>
-                         <property name="homogeneous">False</property>
                          <property name="row_spacing">6</property>
                          <property name="column_spacing">12</property>
 
@@ -177,11 +174,9 @@
                            </object>
                            <packing>
                              <property name="left_attach">0</property>
-                             <property name="right_attach">2</property>
+                             <property name="width">2</property>
                              <property name="top_attach">0</property>
-                             <property name="bottom_attach">1</property>
-                             <property name="x_options">fill</property>
-                             <property name="y_options"/>
+                             <property name="height">1</property>
                            </packing>
                          </child>
 
@@ -204,11 +199,9 @@
                            </object>
                            <packing>
                              <property name="left_attach">0</property>
-                             <property name="right_attach">1</property>
+                             <property name="width">1</property>
                              <property name="top_attach">1</property>
-                             <property name="bottom_attach">2</property>
-                             <property name="x_options">fill</property>
-                             <property name="y_options"/>
+                             <property name="height">1</property>
                            </packing>
                          </child>
 
@@ -231,11 +224,9 @@
                            </object>
                            <packing>
                              <property name="left_attach">0</property>
-                             <property name="right_attach">1</property>
+                             <property name="width">1</property>
                              <property name="top_attach">2</property>
-                             <property name="bottom_attach">3</property>
-                             <property name="x_options">fill</property>
-                             <property name="y_options"/>
+                             <property name="height">1</property>
                            </packing>
                          </child>
 
@@ -247,11 +238,9 @@
                            </object>
                            <packing>
                              <property name="left_attach">1</property>
-                             <property name="right_attach">2</property>
+                             <property name="width">1</property>
                              <property name="top_attach">2</property>
-                             <property name="bottom_attach">3</property>
-                             <property name="x_options">fill</property>
-                             <property name="y_options">fill</property>
+                             <property name="height">1</property>
                            </packing>
                          </child>
 
@@ -269,10 +258,9 @@
                            </object>
                            <packing>
                              <property name="left_attach">1</property>
-                             <property name="right_attach">2</property>
+                             <property name="width">1</property>
                              <property name="top_attach">1</property>
-                             <property name="bottom_attach">2</property>
-                             <property name="y_options"/>
+                             <property name="height">1</property>
                            </packing>
                          </child>
                        </object>


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