[gcalctool] Add some functions back into financial mode
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcalctool] Add some functions back into financial mode
- Date: Wed, 12 May 2010 16:39:21 +0000 (UTC)
commit 82911c3412f6b52e502c115b02117eb2c1ccba36
Author: Robert Ancell <robert ancell gmail com>
Date: Wed May 12 18:39:14 2010 +0200
Add some functions back into financial mode
data/buttons-financial.ui | 99 +++++++++++++++++++++++++++++++++-----------
1 files changed, 74 insertions(+), 25 deletions(-)
---
diff --git a/data/buttons-financial.ui b/data/buttons-financial.ui
index 37fde7b..787ca85 100644
--- a/data/buttons-financial.ui
+++ b/data/buttons-financial.ui
@@ -7,7 +7,7 @@
<object class="GtkTable" id="button_panel">
<property name="visible">True</property>
<property name="n_rows">4</property>
- <property name="n_columns">9</property>
+ <property name="n_columns">10</property>
<property name="homogeneous">True</property>
<child>
<object class="GtkButton" id="calc_store_button">
@@ -115,8 +115,8 @@
<packing>
<property name="left_attach">6</property>
<property name="right_attach">7</property>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
<property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
<property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
</packing>
@@ -494,8 +494,8 @@
<signal name="clicked" handler="finc_cb"/>
</object>
<packing>
- <property name="left_attach">6</property>
- <property name="right_attach">7</property>
+ <property name="left_attach">7</property>
+ <property name="right_attach">8</property>
<property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
<property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
</packing>
@@ -511,8 +511,8 @@
<signal name="clicked" handler="finc_cb"/>
</object>
<packing>
- <property name="left_attach">7</property>
- <property name="right_attach">8</property>
+ <property name="left_attach">8</property>
+ <property name="right_attach">9</property>
<property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
<property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
</packing>
@@ -528,8 +528,8 @@
<signal name="clicked" handler="finc_cb"/>
</object>
<packing>
- <property name="left_attach">8</property>
- <property name="right_attach">9</property>
+ <property name="left_attach">9</property>
+ <property name="right_attach">10</property>
<property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
<property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
</packing>
@@ -545,8 +545,8 @@
<signal name="clicked" handler="finc_cb"/>
</object>
<packing>
- <property name="left_attach">7</property>
- <property name="right_attach">8</property>
+ <property name="left_attach">8</property>
+ <property name="right_attach">9</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
@@ -563,8 +563,8 @@
<signal name="clicked" handler="currency_cb"/>
</object>
<packing>
- <property name="left_attach">8</property>
- <property name="right_attach">9</property>
+ <property name="left_attach">9</property>
+ <property name="right_attach">10</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
@@ -582,8 +582,8 @@
<signal name="clicked" handler="finc_cb"/>
</object>
<packing>
- <property name="left_attach">8</property>
- <property name="right_attach">9</property>
+ <property name="left_attach">9</property>
+ <property name="right_attach">10</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
@@ -601,8 +601,8 @@
<signal name="clicked" handler="finc_cb"/>
</object>
<packing>
- <property name="left_attach">7</property>
- <property name="right_attach">8</property>
+ <property name="left_attach">8</property>
+ <property name="right_attach">9</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
@@ -620,8 +620,8 @@
<signal name="clicked" handler="finc_cb"/>
</object>
<packing>
- <property name="left_attach">6</property>
- <property name="right_attach">7</property>
+ <property name="left_attach">7</property>
+ <property name="right_attach">8</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
@@ -639,8 +639,8 @@
<signal name="clicked" handler="finc_cb"/>
</object>
<packing>
- <property name="left_attach">8</property>
- <property name="right_attach">9</property>
+ <property name="left_attach">9</property>
+ <property name="right_attach">10</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
@@ -658,8 +658,8 @@
<signal name="clicked" handler="finc_cb"/>
</object>
<packing>
- <property name="left_attach">7</property>
- <property name="right_attach">8</property>
+ <property name="left_attach">8</property>
+ <property name="right_attach">9</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
@@ -677,8 +677,8 @@
<signal name="clicked" handler="finc_cb"/>
</object>
<packing>
- <property name="left_attach">6</property>
- <property name="right_attach">7</property>
+ <property name="left_attach">7</property>
+ <property name="right_attach">8</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
@@ -701,6 +701,55 @@
<property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
</packing>
</child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <object class="GtkButton" id="calc_x_pow_y_button">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="focus_on_click">False</property>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="calc_x_pow_y_button-atkobject">
+ <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the exponentiation (x to the power of y) button">Exponent</property>
+ </object>
+ </child>
+ <signal name="clicked" handler="button_cb"/>
+ <child>
+ <object class="GtkLabel" id="x_pow_y_label">
+ <property name="visible">True</property>
+ <property name="label"><i>x</i><sup><i>y</i></sup></property>
+ <property name="use_markup">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">6</property>
+ <property name="right_attach">7</property>
+ <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+ <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="calc_root_button">
+ <property name="label">√</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_underline">True</property>
+ <property name="focus_on_click">False</property>
+ <signal name="clicked" handler="button_cb"/>
+ </object>
+ <packing>
+ <property name="left_attach">6</property>
+ <property name="right_attach">7</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+ <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>
+ </packing>
+ </child>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]