[gnome-disk-utility/udisks2-port] Use GtkGrid in unlock dialog



commit e42902c7a7e270a88df27f6b93ca0a2e925ac75a
Author: David Zeuthen <davidz redhat com>
Date:   Fri Sep 23 10:52:44 2011 -0400

    Use GtkGrid in unlock dialog
    
    Signed-off-by: David Zeuthen <davidz redhat com>

 data/ui/unlock-device-dialog.ui |   21 ++++++++++++---------
 1 files changed, 12 insertions(+), 9 deletions(-)
---
diff --git a/data/ui/unlock-device-dialog.ui b/data/ui/unlock-device-dialog.ui
index 95d752e..228bd97 100644
--- a/data/ui/unlock-device-dialog.ui
+++ b/data/ui/unlock-device-dialog.ui
@@ -27,12 +27,11 @@
           </packing>
         </child>
         <child>
-          <object class="GtkTable" id="table4">
+          <object class="GtkGrid" id="grid1">
             <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">12</property>
+            <property name="row_spacing">6</property>
+            <property name="column_spacing">10</property>
             <child>
               <object class="GtkLabel" id="label9">
                 <property name="visible">True</property>
@@ -43,7 +42,10 @@
                 <property name="mnemonic_widget">unlock-device-passphrase-entry</property>
               </object>
               <packing>
-                <property name="x_options">GTK_FILL</property>
+                <property name="left_attach">0</property>
+                <property name="top_attach">0</property>
+                <property name="width">1</property>
+                <property name="height">1</property>
               </packing>
             </child>
             <child>
@@ -57,8 +59,9 @@
               </object>
               <packing>
                 <property name="left_attach">1</property>
-                <property name="right_attach">2</property>
-                <property name="y_options"></property>
+                <property name="top_attach">0</property>
+                <property name="width">1</property>
+                <property name="height">1</property>
               </packing>
             </child>
             <child>
@@ -74,9 +77,9 @@
               </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="width">1</property>
+                <property name="height">1</property>
               </packing>
             </child>
             <child>



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