[gcalctool] Swap location of modulus and inverse buttons



commit 5ac866a29449d716f7b84db9b4c16c068d9f66d4
Author: Robert Ancell <robert ancell gmail com>
Date:   Mon Mar 29 09:41:24 2010 +1100

    Swap location of modulus and inverse buttons

 NEWS              |    2 ++
 data/gcalctool.ui |   40 ++++++++++++++++++++--------------------
 2 files changed, 22 insertions(+), 20 deletions(-)
---
diff --git a/NEWS b/NEWS
index 93f4cdd..b8e7d45 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,8 @@ Overview of changes in gcalctool 5.31.1
     * Merge advanced and scientific mode
 
     * Don't change window title to match mode (no need to)
+    
+    * Swap location of modulus and inverse buttons
 
 Overview of changes in gcalctool 5.30.0
 
diff --git a/data/gcalctool.ui b/data/gcalctool.ui
index db91dc6..3320e3d 100644
--- a/data/gcalctool.ui
+++ b/data/gcalctool.ui
@@ -2574,16 +2574,27 @@
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkButton" id="calc_modulus_divide_button">
-                    <property name="label">mod</property>
+                  <object class="GtkButton" id="calc_inverse_button">
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">True</property>
-                    <property name="tooltip_text" translatable="yes" comments="Tooltip for the modulus division button">Modulus divide</property>
+                    <property name="tooltip_text" translatable="yes" comments="Tooltip for the inverse button">Inverse [Ctrl+I]</property>
                     <property name="border_width">3</property>
-                    <property name="use_underline">True</property>
                     <property name="focus_on_click">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="calc_inverse_button-atkobject">
+                        <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the inverse button">Inverse</property>
+                      </object>
+                    </child>
                     <signal name="clicked" handler="button_cb"/>
+                    <child>
+                      <object class="GtkLabel" id="label20">
+                        <property name="visible">True</property>
+                        <property name="label">&lt;i&gt;x&lt;/i&gt;&lt;sup&gt;&#x2212;1&lt;/sup&gt;</property>
+                        <property name="use_markup">True</property>
+                        <property name="justify">center</property>
+                      </object>
+                    </child>
                   </object>
                   <packing>
                     <property name="left_attach">1</property>
@@ -2658,28 +2669,17 @@
                     <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
                   </packing>
                 </child>
-                <child>
-                  <object class="GtkButton" id="calc_inverse_button">
+                <child>                
+                  <object class="GtkButton" id="calc_modulus_divide_button">
+                    <property name="label">mod</property>
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">True</property>
-                    <property name="tooltip_text" translatable="yes" comments="Tooltip for the inverse button">Inverse [Ctrl+I]</property>
+                    <property name="tooltip_text" translatable="yes" comments="Tooltip for the modulus division button">Modulus divide</property>
                     <property name="border_width">3</property>
+                    <property name="use_underline">True</property>
                     <property name="focus_on_click">False</property>
-                    <child internal-child="accessible">
-                      <object class="AtkObject" id="calc_inverse_button-atkobject">
-                        <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the inverse button">Inverse</property>
-                      </object>
-                    </child>
                     <signal name="clicked" handler="button_cb"/>
-                    <child>
-                      <object class="GtkLabel" id="label20">
-                        <property name="visible">True</property>
-                        <property name="label">&lt;i&gt;x&lt;/i&gt;&lt;sup&gt;&#x2212;1&lt;/sup&gt;</property>
-                        <property name="use_markup">True</property>
-                        <property name="justify">center</property>
-                      </object>
-                    </child>
                   </object>
                   <packing>
                     <property name="top_attach">3</property>



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