[gnumeric] Fix sheet order dialog layout. [#619056] (for Sameer Morar)



commit 2109aa1e5080610e6a46f9dac903d545fde8b1c5
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date:   Wed May 19 08:18:41 2010 -0600

    Fix sheet order dialog layout. [#619056] (for Sameer Morar)
    
    2010-05-19 Andreas J. Guelzow <aguelzow pyrshep ca>
    
    	* sheet-order.glade: improve layout on size changes of dialog

 NEWS                          |    3 ++
 src/dialogs/ChangeLog         |    4 +++
 src/dialogs/sheet-order.glade |   51 +++++++++++++++++++++++++++++++++++-----
 3 files changed, 51 insertions(+), 7 deletions(-)
---
diff --git a/NEWS b/NEWS
index a40f8e6..e82f92b 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,9 @@ Morten:
 	* Linear regression test suite.
 	* Fix TABLE problem.  [#618829]
 
+Sameer Morar:
+ 	* Fix sheet order dialog layout. [#619056]
+
 --------------------------------------------------------------------------
 Gnumeric 1.10.3
 
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index db5bc2e..de7196d 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,3 +1,7 @@
+2010-05-19 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+	* sheet-order.glade: improve layout on size changes of dialog
+
 2010-05-07  Morten Welinder <terra gnome org>
 
 	* Release 1.10.3
diff --git a/src/dialogs/sheet-order.glade b/src/dialogs/sheet-order.glade
index d86bad6..818f844 100644
--- a/src/dialogs/sheet-order.glade
+++ b/src/dialogs/sheet-order.glade
@@ -37,20 +37,19 @@
                 <property name="column_spacing">3</property>
                 <property name="row_spacing">3</property>
                 <child>
-                  <placeholder/>
-                </child>
-                <child>
-                  <placeholder/>
-                </child>
-                <child>
                   <widget class="GtkButton" id="up_button">
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="label">gtk-go-up</property>
                     <property name="use_stock">True</property>
+		    <property name="receives_default">False</property>
                     <property name="xalign">0</property>
                     <property name="response_id">0</property>
                   </widget>
+		  <packing>
+		    <property name="x_options">GTK_FILL</property>
+		    <property name="y_options">GTK_FILL</property>
+		  </packing>
                 </child>
                 <child>
                   <widget class="GtkButton" id="down_button">
@@ -58,12 +57,15 @@
                     <property name="can_focus">True</property>
                     <property name="label">gtk-go-down</property>
                     <property name="use_stock">True</property>
+		    <property name="receives_default">False</property>
                     <property name="xalign">0</property>
                     <property name="response_id">0</property>
                   </widget>
                   <packing>
                     <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>
@@ -79,6 +81,8 @@
                   <packing>
                     <property name="top_attach">2</property>
                     <property name="bottom_attach">3</property>
+		    <property name="x_options">GTK_FILL</property>
+		    <property name="y_options">GTK_FILL</property>
                   </packing>
                 </child>
                 <child>
@@ -118,17 +122,20 @@
                     <property name="use_underline">True</property>
                     <property name="xalign">0</property>
                     <property name="response_id">0</property>
+		    <property name="receives_default">False</property>
                   </widget>
                   <packing>
                     <property name="top_attach">6</property>
                     <property name="bottom_attach">7</property>
+                    <property name="x_options">GTK_FILL</property>
+                    <property name="y_options">GTK_FILL</property>
                   </packing>
                 </child>
                 <child>
                   <widget class="GtkButton" id="undo-button">
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
-                    <property name="receives_default">True</property>
+                    <property name="receives_default">False</property>
                     <property name="label">gtk-undo</property>
                     <property name="use_stock">True</property>
                     <property name="xalign">0</property>
@@ -139,6 +146,8 @@
                     <property name="right_attach">2</property>
                     <property name="top_attach">6</property>
                     <property name="bottom_attach">7</property>
+                    <property name="x_options">GTK_FILL</property>
+                    <property name="y_options">GTK_FILL</property>
                   </packing>
                 </child>
                 <child>
@@ -148,11 +157,14 @@
                     <property name="label">_Insert</property>
                     <property name="use_underline">True</property>
                     <property name="xalign">0</property>
+		    <property name="receives_default">False</property>
                     <property name="response_id">0</property>
                   </widget>
                   <packing>
                     <property name="left_attach">1</property>
                     <property name="right_attach">2</property>
+                    <property name="x_options">GTK_FILL</property>
+                    <property name="y_options">GTK_FILL</property>
                   </packing>
                 </child>
                 <child>
@@ -163,6 +175,7 @@
                     <property name="label">gtk-remove</property>
                     <property name="use_stock">True</property>
                     <property name="xalign">0</property>
+		    <property name="receives_default">False</property>
                     <property name="response_id">0</property>
                   </widget>
                   <packing>
@@ -170,6 +183,8 @@
                     <property name="right_attach">2</property>
                     <property name="top_attach">2</property>
                     <property name="bottom_attach">3</property>
+                    <property name="x_options">GTK_FILL</property>
+                    <property name="y_options">GTK_FILL</property>
                   </packing>
                 </child>
                 <child>
@@ -180,6 +195,7 @@
                     <property name="label" translatable="yes">Du_plicate</property>
                     <property name="use_underline">True</property>
                     <property name="xalign">0</property>
+		    <property name="receives_default">False</property>
                     <property name="response_id">0</property>
                   </widget>
                   <packing>
@@ -206,8 +222,16 @@
                     <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>
+		  <placeholder/>
+		</child>
+		<child>
+		  <placeholder/>
+		</child>
               </widget>
               <packing>
                 <property name="expand">False</property>
@@ -228,9 +252,11 @@
             <property name="use_underline">True</property>
             <property name="response_id">0</property>
             <property name="draw_indicator">True</property>
+	    <property name="receives_default">False</property>
           </widget>
           <packing>
             <property name="position">2</property>
+	    <property name="expand">False</property>
           </packing>
         </child>
         <child>
@@ -239,6 +265,7 @@
           </widget>
           <packing>
             <property name="position">3</property>
+	    <property name="expand">False</property>
           </packing>
         </child>
         <child internal-child="action_area">
@@ -253,7 +280,13 @@
                 <property name="label">gtk-help</property>
                 <property name="use_stock">True</property>
                 <property name="response_id">0</property>
+		<property name="receives_default">False</property>
               </widget>
+	      <packing>
+		<property name="expand">False</property>
+		<property name="fill">False</property>
+		<property name="position">0</property>
+	      </packing>
             </child>
             <child>
               <widget class="GtkButton" id="cancel_button">
@@ -262,9 +295,12 @@
                 <property name="can_default">True</property>
                 <property name="label">gtk-close</property>
                 <property name="use_stock">True</property>
+		<property name="receives_default">True</property>
                 <property name="response_id">0</property>
               </widget>
               <packing>
+		<property name="expand">False</property>
+		<property name="fill">False</property>
                 <property name="position">1</property>
               </packing>
             </child>
@@ -272,6 +308,7 @@
           <packing>
             <property name="expand">False</property>
             <property name="pack_type">GTK_PACK_END</property>
+	    <property name="position">0</property>
           </packing>
         </child>
       </widget>



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