[gedit] Use alignments in preferences dialog



commit 0f2c09db03f8fa2d3b91de8d2cf6835e88fb7714
Author: Garrett Regier <alias301 gmail com>
Date:   Wed Jun 2 08:19:10 2010 -0700

    Use alignments in preferences dialog

 gedit/dialogs/gedit-preferences-dialog.ui |  122 +++++------------------------
 1 files changed, 20 insertions(+), 102 deletions(-)
---
diff --git a/gedit/dialogs/gedit-preferences-dialog.ui b/gedit/dialogs/gedit-preferences-dialog.ui
index 9038e42..e6c9375 100644
--- a/gedit/dialogs/gedit-preferences-dialog.ui
+++ b/gedit/dialogs/gedit-preferences-dialog.ui
@@ -23,9 +23,6 @@
     <property name="step_increment">1</property>
     <property name="page_increment">10</property>
   </object>
-  <object class="GtkImage" id="install_scheme_image">
-    <property name="stock">gtk-add</property>
-  </object>
   <object class="GtkDialog" id="preferences_dialog">
     <property name="title" translatable="yes">Preferences</property>
     <property name="resizable">False</property>
@@ -144,19 +141,9 @@
                       </packing>
                     </child>
                     <child>
-                      <object class="GtkHBox" id="hbox142">
+                      <object class="GtkAlignment" id="alignment3">
                         <property name="visible">True</property>
-                        <child>
-                          <object class="GtkLabel" id="label849">
-                            <property name="visible">True</property>
-                            <property name="label" translatable="yes">    </property>
-                          </object>
-                          <packing>
-                            <property name="expand">False</property>
-                            <property name="fill">False</property>
-                            <property name="position">0</property>
-                          </packing>
-                        </child>
+                        <property name="left_padding">12</property>
                         <child>
                           <object class="GtkVBox" id="wrap_mode_frame">
                             <property name="visible">True</property>
@@ -193,9 +180,6 @@
                               </packing>
                             </child>
                           </object>
-                          <packing>
-                            <property name="position">1</property>
-                          </packing>
                         </child>
                       </object>
                       <packing>
@@ -228,19 +212,9 @@
                       </packing>
                     </child>
                     <child>
-                      <object class="GtkHBox" id="hbox161">
+                      <object class="GtkAlignment" id="alignment4">
                         <property name="visible">True</property>
-                        <child>
-                          <object class="GtkLabel" id="label877">
-                            <property name="visible">True</property>
-                            <property name="label" translatable="yes">    </property>
-                          </object>
-                          <packing>
-                            <property name="expand">False</property>
-                            <property name="fill">False</property>
-                            <property name="position">0</property>
-                          </packing>
-                        </child>
+                        <property name="left_padding">12</property>
                         <child>
                           <object class="GtkVBox" id="vbox245">
                             <property name="visible">True</property>
@@ -277,9 +251,6 @@
                               </packing>
                             </child>
                           </object>
-                          <packing>
-                            <property name="position">1</property>
-                          </packing>
                         </child>
                       </object>
                       <packing>
@@ -330,19 +301,9 @@
                       </packing>
                     </child>
                     <child>
-                      <object class="GtkHBox" id="hbox141">
+                      <object class="GtkAlignment" id="alignment1">
                         <property name="visible">True</property>
-                        <child>
-                          <object class="GtkLabel" id="label847">
-                            <property name="visible">True</property>
-                            <property name="label" translatable="yes">    </property>
-                          </object>
-                          <packing>
-                            <property name="expand">False</property>
-                            <property name="fill">False</property>
-                            <property name="position">0</property>
-                          </packing>
-                        </child>
+                        <property name="left_padding">12</property>
                         <child>
                           <object class="GtkVBox" id="vbox205">
                             <property name="visible">True</property>
@@ -370,6 +331,7 @@
                                   <object class="GtkSpinButton" id="tabs_width_spinbutton">
                                     <property name="visible">True</property>
                                     <property name="can_focus">True</property>
+                                    <property name="invisible_char">&#x25CF;</property>
                                     <property name="adjustment">adjustment2</property>
                                     <property name="climb_rate">1</property>
                                     <property name="numeric">True</property>
@@ -416,16 +378,9 @@
                               </packing>
                             </child>
                           </object>
-                          <packing>
-                            <property name="expand">False</property>
-                            <property name="fill">False</property>
-                            <property name="position">1</property>
-                          </packing>
                         </child>
                       </object>
                       <packing>
-                        <property name="expand">False</property>
-                        <property name="fill">False</property>
                         <property name="position">1</property>
                       </packing>
                     </child>
@@ -457,19 +412,9 @@
                       </packing>
                     </child>
                     <child>
-                      <object class="GtkHBox" id="hbox147">
+                      <object class="GtkAlignment" id="alignment2">
                         <property name="visible">True</property>
-                        <child>
-                          <object class="GtkLabel" id="label860">
-                            <property name="visible">True</property>
-                            <property name="label" translatable="yes">    </property>
-                          </object>
-                          <packing>
-                            <property name="expand">False</property>
-                            <property name="fill">False</property>
-                            <property name="position">0</property>
-                          </packing>
-                        </child>
+                        <property name="left_padding">12</property>
                         <child>
                           <object class="GtkVBox" id="vbox187">
                             <property name="visible">True</property>
@@ -513,6 +458,7 @@
                                   <object class="GtkSpinButton" id="auto_save_spinbutton">
                                     <property name="visible">True</property>
                                     <property name="can_focus">True</property>
+                                    <property name="invisible_char">&#x25CF;</property>
                                     <property name="adjustment">adjustment3</property>
                                     <property name="climb_rate">1</property>
                                     <property name="numeric">True</property>
@@ -543,11 +489,6 @@
                               </packing>
                             </child>
                           </object>
-                          <packing>
-                            <property name="expand">False</property>
-                            <property name="fill">False</property>
-                            <property name="position">1</property>
-                          </packing>
                         </child>
                       </object>
                       <packing>
@@ -603,19 +544,9 @@
                       </packing>
                     </child>
                     <child>
-                      <object class="GtkHBox" id="hbox116">
+                      <object class="GtkAlignment" id="alignment5">
                         <property name="visible">True</property>
-                        <child>
-                          <object class="GtkLabel" id="label800">
-                            <property name="visible">True</property>
-                            <property name="label" translatable="yes">    </property>
-                          </object>
-                          <packing>
-                            <property name="expand">False</property>
-                            <property name="fill">False</property>
-                            <property name="position">0</property>
-                          </packing>
-                        </child>
+                        <property name="left_padding">12</property>
                         <child>
                           <object class="GtkVBox" id="vbox183">
                             <property name="visible">True</property>
@@ -659,7 +590,7 @@
                                   <object class="GtkFontButton" id="font_button">
                                     <property name="visible">True</property>
                                     <property name="can_focus">True</property>
-                                    <property name="receives_default">False</property>
+                                    <property name="receives_default">True</property>
                                     <property name="title" translatable="yes">Pick the editor font</property>
                                     <property name="use_font">True</property>
                                   </object>
@@ -675,9 +606,6 @@
                               </packing>
                             </child>
                           </object>
-                          <packing>
-                            <property name="position">1</property>
-                          </packing>
                         </child>
                       </object>
                       <packing>
@@ -712,19 +640,9 @@
                       </packing>
                     </child>
                     <child>
-                      <object class="GtkHBox" id="hbox115">
+                      <object class="GtkAlignment" id="alignment6">
                         <property name="visible">True</property>
-                        <child>
-                          <object class="GtkLabel" id="label797">
-                            <property name="visible">True</property>
-                            <property name="label" translatable="yes">    </property>
-                          </object>
-                          <packing>
-                            <property name="expand">False</property>
-                            <property name="fill">False</property>
-                            <property name="position">0</property>
-                          </packing>
-                        </child>
+                        <property name="left_padding">12</property>
                         <child>
                           <object class="GtkVBox" id="vbox1">
                             <property name="visible">True</property>
@@ -761,7 +679,7 @@
                                     <property name="label" translatable="yes">_Add...</property>
                                     <property name="visible">True</property>
                                     <property name="can_focus">True</property>
-                                    <property name="receives_default">False</property>
+                                    <property name="receives_default">True</property>
                                     <property name="image">install_scheme_image</property>
                                     <property name="use_underline">True</property>
                                   </object>
@@ -776,7 +694,7 @@
                                     <property name="label">gtk-remove</property>
                                     <property name="visible">True</property>
                                     <property name="can_focus">True</property>
-                                    <property name="receives_default">False</property>
+                                    <property name="receives_default">True</property>
                                     <property name="use_stock">True</property>
                                   </object>
                                   <packing>
@@ -792,9 +710,6 @@
                               </packing>
                             </child>
                           </object>
-                          <packing>
-                            <property name="position">1</property>
-                          </packing>
                         </child>
                       </object>
                       <packing>
@@ -897,4 +812,7 @@
       <action-widget response="-7">closebutton1</action-widget>
     </action-widgets>
   </object>
+  <object class="GtkImage" id="install_scheme_image">
+    <property name="stock">gtk-add</property>
+  </object>
 </interface>



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