[gnome-control-center] info: replace one GtkTable instance by GtkGrid



commit 34caef89ef89d63548572621ed4a2166b49eee1a
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Aug 1 20:25:28 2012 +0200

    info: replace one GtkTable instance by GtkGrid
    
    https://bugzilla.gnome.org/show_bug.cgi?id=681211

 panels/info/info.ui |   19 +++++--------------
 1 files changed, 5 insertions(+), 14 deletions(-)
---
diff --git a/panels/info/info.ui b/panels/info/info.ui
index 2a7c422..5e07805 100644
--- a/panels/info/info.ui
+++ b/panels/info/info.ui
@@ -87,11 +87,9 @@
                         <property name="spacing">6</property>
                         <property name="orientation">vertical</property>
                         <child>
-                          <object class="GtkTable" id="table5">
+                          <object class="GtkGrid" id="table5">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
-                            <property name="n_rows">2</property>
-                            <property name="n_columns">2</property>
                             <property name="column_spacing">6</property>
                             <property name="row_spacing">10</property>
                             <child>
@@ -101,8 +99,7 @@
                               </object>
                               <packing>
                                 <property name="left_attach">1</property>
-                                <property name="right_attach">2</property>
-                                <property name="y_options">GTK_FILL</property>
+                                <property name="top_attach">0</property>
                               </packing>
                             </child>
                             <child>
@@ -115,10 +112,8 @@
                                 <property name="mnemonic_widget">media_other_action_container</property>
                               </object>
                               <packing>
+                                <property name="left_attach">0</property>
                                 <property name="top_attach">1</property>
-                                <property name="bottom_attach">2</property>
-                                <property name="x_options">GTK_FILL</property>
-                                <property name="y_options"></property>
                               </packing>
                             </child>
                             <child>
@@ -128,11 +123,7 @@
                               </object>
                               <packing>
                                 <property name="left_attach">1</property>
-                                <property name="right_attach">2</property>
                                 <property name="top_attach">1</property>
-                                <property name="bottom_attach">2</property>
-                                <property name="x_options">GTK_FILL</property>
-                                <property name="y_options">GTK_FILL</property>
                               </packing>
                             </child>
                             <child>
@@ -145,8 +136,8 @@
                                 <property name="mnemonic_widget">media_other_type_combobox</property>
                               </object>
                               <packing>
-                                <property name="x_options">GTK_FILL</property>
-                                <property name="y_options"></property>
+                                <property name="left_attach">0</property>
+                                <property name="top_attach">0</property>
                               </packing>
                             </child>
                           </object>



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