[empathy] Make sure the Add and Import buttons are always the same height.



commit 150f031eb2d56c88a528bfc97650f2190b9822fd
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Sep 30 11:44:46 2009 +0200

    Make sure the Add and Import buttons are always the same height.

 src/empathy-accounts-dialog.ui |   46 +++++++++++++++++++++++----------------
 1 files changed, 27 insertions(+), 19 deletions(-)
---
diff --git a/src/empathy-accounts-dialog.ui b/src/empathy-accounts-dialog.ui
index 56cddcb..ecb1939 100644
--- a/src/empathy-accounts-dialog.ui
+++ b/src/empathy-accounts-dialog.ui
@@ -43,13 +43,34 @@
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkButton" id="button_add">
-                    <property name="label" translatable="yes">_Add...</property>
+                  <object class="GtkVBox" id="vbox1">
                     <property name="visible">True</property>
-                    <property name="can_focus">True</property>
-                    <property name="receives_default">True</property>
-                    <property name="image">add_image</property>
-                    <property name="use_underline">True</property>
+                    <property name="orientation">vertical</property>
+                    <property name="homogeneous">True</property>
+                    <child>
+                      <object class="GtkButton" id="button_add">
+                        <property name="label" translatable="yes">_Add...</property>
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="receives_default">True</property>
+                        <property name="image">add_image</property>
+                        <property name="use_underline">True</property>
+                      </object>
+                      <packing>
+                        <property name="position">0</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkButton" id="button_import">
+                        <property name="label" translatable="yes">_Import...</property>
+                        <property name="can_focus">True</property>
+                        <property name="receives_default">True</property>
+                        <property name="use_underline">True</property>
+                      </object>
+                      <packing>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
                   </object>
                   <packing>
                     <property name="expand">False</property>
@@ -57,19 +78,6 @@
                     <property name="position">1</property>
                   </packing>
                 </child>
-                <child>
-                  <object class="GtkButton" id="button_import">
-                    <property name="label" translatable="yes">_Import...</property>
-                    <property name="can_focus">True</property>
-                    <property name="receives_default">True</property>
-                    <property name="use_underline">True</property>
-                  </object>
-                  <packing>
-                    <property name="expand">False</property>
-                    <property name="fill">False</property>
-                    <property name="position">2</property>
-                  </packing>
-                </child>
               </object>
               <packing>
                 <property name="expand">False</property>



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