diff options
author | Steve Zesch <[email protected]> | 2012-11-24 20:44:45 -0500 |
---|---|---|
committer | Steve Zesch <[email protected]> | 2012-11-24 20:44:45 -0500 |
commit | 6b24c91d3aa81fdb99500c8c2c12f830fabaefb6 (patch) | |
tree | 6a0038ecfaa77e156ee2cc9059220685091217d7 /data | |
parent | a10375c2851e8569353c0da9921b8d0d9cbea2e6 (diff) | |
download | mate-calc-6b24c91d3aa81fdb99500c8c2c12f830fabaefb6.tar.bz2 mate-calc-6b24c91d3aa81fdb99500c8c2c12f830fabaefb6.tar.xz |
Update codebase.
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 2 | ||||
-rw-r--r-- | data/buttons-advanced.ui | 1934 | ||||
-rw-r--r-- | data/buttons-basic.ui | 25 | ||||
-rw-r--r-- | data/buttons-financial.ui | 2223 | ||||
-rw-r--r-- | data/buttons-programming.ui | 74 | ||||
-rw-r--r-- | data/mate-calc-cmd.1 | 17 | ||||
-rw-r--r-- | data/mate-calc.1 | 8 | ||||
-rw-r--r-- | data/mate-calc.desktop.in | 3 | ||||
-rw-r--r-- | data/org.mate.calc.gschema.xml.in | 19 | ||||
-rw-r--r-- | data/preferences.ui | 1 |
10 files changed, 2077 insertions, 2229 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 35a977a..d8a4671 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -15,7 +15,7 @@ Utilities_in_files = mate-calc.desktop.in Utilities_DATA = $(Utilities_in_files:.desktop.in=.desktop) @INTLTOOL_DESKTOP_RULE@ -man1_MANS = mate-calc.1 +man1_MANS = mate-calc.1 mate-calc-cmd.1 EXTRA_DIST = $(ui_DATA) org.mate.calc.gschema.xml.in mate-calc.desktop.in $(man1_MANS) diff --git a/data/buttons-advanced.ui b/data/buttons-advanced.ui index 30f01ec..ac94ecf 100644 --- a/data/buttons-advanced.ui +++ b/data/buttons-advanced.ui @@ -3,1265 +3,1041 @@ <requires lib="gtk+" version="2.16"/> <!-- interface-naming-policy toplevel-contextual --> <object class="GtkWindow" id="window1"> - <property name="can_focus">False</property> <child> - <object class="GtkVBox" id="button_panel"> + <object class="GtkTable" id="button_panel"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="spacing">6</property> + <property name="n_rows">5</property> + <property name="n_columns">10</property> + <property name="homogeneous">True</property> <child> - <object class="GtkHBox" id="hbox1"> + <object class="GtkButton" id="calc_inverse_button"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="spacing">6</property> - <child> - <object class="GtkComboBox" id="angle_units_combo"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="focus_on_click">False</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_inverse_button-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the inverse button">Inverse</property> </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> </child> + <signal name="clicked" handler="button_cb" swapped="no"/> <child> - <object class="GtkLabel" id="angle_label"> + <object class="GtkLabel" id="label20"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="xalign">1</property> - <property name="label" comments="Example content">3.14159 radians = 180 degrees</property> - <child internal-child="accessible"> - <object class="AtkObject" id="angle_label-atkobject"> - <property name="AtkObject::accessible-name">angle_label</property> - <property name="AtkObject::accessible-description">Displays an angle unit conversion</property> - </object> - </child> + <property name="label"><i>x</i><sup>−1</sup></property> + <property name="use_markup">True</property> + <property name="justify">center</property> </object> - <packing> - <property name="expand">True</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> </child> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> + <property name="left_attach">6</property> + <property name="right_attach">7</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> </child> <child> - <object class="GtkTable" id="button_table"> + <object class="GtkButton" id="calc_factor_button"> + <property name="label">a×b</property> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="n_rows">5</property> - <property name="n_columns">11</property> - <property name="homogeneous">True</property> - <child> - <object class="GtkButton" id="calc_factor_button"> - <property name="label">a×b</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <child internal-child="accessible"> - <object class="AtkObject" id="calc_factor_button-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the factorize button">Factorize</property> - </object> - </child> - <signal name="clicked" handler="factorize_cb" swapped="no"/> - </object> - <packing> - <property name="left_attach">5</property> - <property name="right_attach">6</property> - <property name="top_attach">4</property> - <property name="bottom_attach">5</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_imaginary_portion_button"> - <property name="label">Im</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb" swapped="no"/> - </object> - <packing> - <property name="left_attach">7</property> - <property name="right_attach">8</property> - <property name="top_attach">4</property> - <property name="bottom_attach">5</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_imaginary_button"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb" swapped="no"/> - <child> - <object class="GtkLabel" id="imaginary_label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label"><i>i</i></property> - <property name="use_markup">True</property> - </object> - </child> - </object> - <packing> - <property name="left_attach">2</property> - <property name="right_attach">3</property> - <property name="top_attach">4</property> - <property name="bottom_attach">5</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_4_button"> - <property name="label">4</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="digit_cb" swapped="no"/> - </object> - <packing> - <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> - </child> - <child> - <object class="GtkButton" id="calc_7_button"> - <property name="label">7</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="digit_cb" swapped="no"/> - </object> - <packing> - <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> - <child> - <object class="GtkButton" id="calc_8_button"> - <property name="label">8</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="digit_cb" swapped="no"/> - </object> - <packing> - <property name="left_attach">1</property> - <property name="right_attach">2</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> - <child> - <object class="GtkButton" id="calc_9_button"> - <property name="label">9</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="digit_cb" swapped="no"/> + <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> + <child internal-child="accessible"> + <object class="AtkObject" id="calc_factor_button-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the factorize button">Factorize</property> </object> - <packing> - <property name="left_attach">2</property> - <property name="right_attach">3</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> - <child> - <object class="GtkButton" id="calc_5_button"> - <property name="label">5</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="digit_cb" swapped="no"/> + <signal name="clicked" handler="factorize_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">5</property> + <property name="right_attach">6</property> + <property name="top_attach">4</property> + <property name="bottom_attach">5</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_factorial_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_factorial_button-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the factorial button">Factorial</property> </object> - <packing> - <property name="left_attach">1</property> - <property name="right_attach">2</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> </child> + <signal name="clicked" handler="button_cb" swapped="no"/> <child> - <object class="GtkButton" id="calc_6_button"> - <property name="label">6</property> + <object class="GtkLabel" id="label14"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="digit_cb" swapped="no"/> + <property name="label"><i>x</i>!</property> + <property name="use_markup">True</property> </object> - <packing> - <property name="left_attach">2</property> - <property name="right_attach">3</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> - </child> - <child> - <object class="GtkButton" id="calc_divide_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_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb" swapped="no"/> - </object> - <packing> - <property name="left_attach">3</property> - <property name="right_attach">4</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> - <child> - <object class="GtkButton" id="calc_1_button"> - <property name="label">1</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="digit_cb" swapped="no"/> - </object> - <packing> - <property name="top_attach">3</property> - <property name="bottom_attach">4</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> + <packing> + <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> + <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + </packing> + </child> + <child> + <object class="GtkButton" id="calc_imaginary_portion_button"> + <property name="label">Im</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" swapped="no"/> + </object> + <packing> + <property name="left_attach">7</property> + <property name="right_attach">8</property> + <property name="top_attach">4</property> + <property name="bottom_attach">5</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_imaginary_button"> + <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" swapped="no"/> <child> - <object class="GtkButton" id="calc_2_button"> - <property name="label">2</property> + <object class="GtkLabel" id="imaginary_label"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="digit_cb" swapped="no"/> + <property name="label"><i>i</i></property> + <property name="use_markup">True</property> </object> - <packing> - <property name="left_attach">1</property> - <property name="right_attach">2</property> - <property name="top_attach">3</property> - <property name="bottom_attach">4</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> + <packing> + <property name="left_attach">2</property> + <property name="right_attach">3</property> + <property name="top_attach">4</property> + <property name="bottom_attach">5</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_4_button"> + <property name="label">4</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="digit_cb" swapped="no"/> + </object> + <packing> + <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> + </child> + <child> + <object class="GtkButton" id="calc_7_button"> + <property name="label">7</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="digit_cb" swapped="no"/> + </object> + <packing> + <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> + <child> + <object class="GtkButton" id="calc_8_button"> + <property name="label">8</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="digit_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</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> + <child> + <object class="GtkButton" id="calc_9_button"> + <property name="label">9</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="digit_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">2</property> + <property name="right_attach">3</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> + <child> + <object class="GtkButton" id="calc_5_button"> + <property name="label">5</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="digit_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</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> + </child> + <child> + <object class="GtkButton" id="calc_6_button"> + <property name="label">6</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="digit_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">2</property> + <property name="right_attach">3</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> + </child> + <child> + <object class="GtkButton" id="calc_divide_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" swapped="no"/> + </object> + <packing> + <property name="left_attach">3</property> + <property name="right_attach">4</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> + <child> + <object class="GtkButton" id="calc_1_button"> + <property name="label">1</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="digit_cb" swapped="no"/> + </object> + <packing> + <property name="top_attach">3</property> + <property name="bottom_attach">4</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_2_button"> + <property name="label">2</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="digit_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">3</property> + <property name="bottom_attach">4</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_0_button"> + <property name="label">0</property> + <property name="width_request">50</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="digit_cb" swapped="no"/> + </object> + <packing> + <property name="top_attach">4</property> + <property name="bottom_attach">5</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_numeric_point_button"> + <property name="label" comments="Label is set in gtk.c to comply with LC flags">.</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="numeric_point_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">4</property> + <property name="bottom_attach">5</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_3_button"> + <property name="label">3</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="digit_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">2</property> + <property name="right_attach">3</property> + <property name="top_attach">3</property> + <property name="bottom_attach">4</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_multiply_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" swapped="no"/> + </object> + <packing> + <property name="left_attach">3</property> + <property name="right_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> + </child> + <child> + <object class="GtkButton" id="calc_subtract_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="subtract_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">3</property> + <property name="right_attach">4</property> + <property name="top_attach">3</property> + <property name="bottom_attach">4</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_add_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" swapped="no"/> + </object> + <packing> + <property name="left_attach">3</property> + <property name="right_attach">4</property> + <property name="top_attach">4</property> + <property name="bottom_attach">5</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_result_button"> + <property name="label" translatable="yes" comments="Label on the solve button (clicking this solves the displayed calculation)">=</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="solve_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">4</property> + <property name="right_attach">5</property> + <property name="top_attach">4</property> + <property name="bottom_attach">5</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_clear_button"> + <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="clear_cb" swapped="no"/> <child> - <object class="GtkButton" id="calc_0_button"> - <property name="label">0</property> + <object class="GtkImage" id="image1"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="digit_cb" swapped="no"/> + <property name="icon-name">edit-clear-symbolic</property> </object> - <packing> - <property name="top_attach">4</property> - <property name="bottom_attach">5</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_numeric_point_button"> - <property name="label" comments="Label is set in gtk.c to comply with LC flags">.</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="numeric_point_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">5</property> + <property name="right_attach">6</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="GtkToggleButton" id="calc_subscript_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_subscript_button-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the subscript mode button">Subscript</property> </object> - <packing> - <property name="left_attach">1</property> - <property name="right_attach">2</property> - <property name="top_attach">4</property> - <property name="bottom_attach">5</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> + <signal name="clicked" handler="set_subscript_cb" swapped="no"/> <child> - <object class="GtkButton" id="calc_3_button"> - <property name="label">3</property> + <object class="GtkLabel" id="label4"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="digit_cb" swapped="no"/> + <property name="label">↓n</property> + <property name="use_markup">True</property> </object> - <packing> - <property name="left_attach">2</property> - <property name="right_attach">3</property> - <property name="top_attach">3</property> - <property name="bottom_attach">4</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_multiply_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_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb" swapped="no"/> + </object> + <packing> + <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="GtkToggleButton" id="calc_superscript_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_superscript_button-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the superscript mode button">Superscript</property> </object> - <packing> - <property name="left_attach">3</property> - <property name="right_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> </child> + <signal name="clicked" handler="set_superscript_cb" swapped="no"/> <child> - <object class="GtkButton" id="calc_subtract_button"> - <property name="label">−</property> + <object class="GtkLabel" id="label3"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="subtract_cb" swapped="no"/> + <property name="label">↑n</property> + <property name="use_markup">True</property> </object> - <packing> - <property name="left_attach">3</property> - <property name="right_attach">4</property> - <property name="top_attach">3</property> - <property name="bottom_attach">4</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_add_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_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_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> + <child> + <object class="GtkButton" id="calc_exponential_button"> + <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> + <child internal-child="accessible"> + <object class="AtkObject" id="calc_exponential_button-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the scientific exponent button">Scientific Exponent</property> </object> - <packing> - <property name="left_attach">3</property> - <property name="right_attach">4</property> - <property name="top_attach">4</property> - <property name="bottom_attach">5</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> + <signal name="clicked" handler="exponent_cb" swapped="no"/> <child> - <object class="GtkButton" id="calc_result_button"> - <property name="label" translatable="yes" comments="Label on the solve button (clicking this solves the displayed calculation)">=</property> + <object class="GtkLabel" id="label2"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="solve_cb" swapped="no"/> + <property name="label">×10<sup><i>y</i></sup></property> + <property name="use_markup">True</property> </object> - <packing> - <property name="left_attach">4</property> - <property name="right_attach">5</property> - <property name="top_attach">4</property> - <property name="bottom_attach">5</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_clear_button"> - <property name="label" translatable="yes" comments="Label on the clear display button">Clear</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="clear_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">2</property> + <property name="right_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> + </child> + <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="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="button_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">3</property> + <property name="right_attach">4</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_start_group_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" swapped="no"/> + </object> + <packing> + <property name="left_attach">4</property> + <property name="right_attach">5</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> + <child> + <object class="GtkButton" id="calc_end_group_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" swapped="no"/> + </object> + <packing> + <property name="left_attach">5</property> + <property name="right_attach">6</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> + <child> + <object class="GtkButton" id="calc_memory_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_memory_button-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the memory button">Memory</property> </object> - <packing> - <property name="left_attach">5</property> - <property name="right_attach">6</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> + <signal name="clicked" handler="memory_cb" swapped="no"/> <child> - <object class="GtkToggleButton" id="calc_subscript_button"> + <object class="GtkHBox" id="hbox20"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="focus_on_click">False</property> - <child internal-child="accessible"> - <object class="AtkObject" id="calc_subscript_button-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the subscript mode button">Subscript</property> - </object> - </child> - <signal name="clicked" handler="set_subscript_cb" swapped="no"/> <child> - <object class="GtkLabel" id="label4"> + <object class="GtkLabel" id="label23"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label">↓n</property> - <property name="use_markup">True</property> - </object> - </child> - </object> - <packing> - <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="GtkToggleButton" id="calc_superscript_button"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="focus_on_click">False</property> - <child internal-child="accessible"> - <object class="AtkObject" id="calc_superscript_button-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the superscript mode button">Superscript</property> + <property name="label" translatable="yes" comments="The label on the memory button">x</property> + <attributes> + <attribute name="style" value="italic"/> + </attributes> </object> + <packing> + <property name="position">0</property> + </packing> </child> - <signal name="clicked" handler="set_superscript_cb" swapped="no"/> <child> - <object class="GtkLabel" id="label3"> + <object class="GtkArrow" id="arrow14"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label">↑n</property> - <property name="use_markup">True</property> + <property name="arrow_type">down</property> </object> + <packing> + <property name="expand">False</property> + <property name="position">1</property> + </packing> </child> </object> - <packing> - <property name="left_attach">1</property> - <property name="right_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> - <child> - <object class="GtkButton" id="calc_exponential_button"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <child internal-child="accessible"> - <object class="AtkObject" id="calc_exponential_button-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the scientific exponent button">Scientific Exponent</property> - </object> - </child> - <signal name="clicked" handler="exponent_cb" swapped="no"/> - <child> - <object class="GtkLabel" id="label2"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label">×10<sup><i>y</i></sup></property> - <property name="use_markup">True</property> - </object> - </child> + </object> + <packing> + <property name="left_attach">4</property> + <property name="right_attach">6</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> + </child> + <child> + <object class="GtkButton" id="calc_abs_button"> + <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> + <child internal-child="accessible"> + <object class="AtkObject" id="calc_abs_button-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the absolute value button">Absolute Value</property> </object> - <packing> - <property name="left_attach">2</property> - <property name="right_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> </child> + <signal name="clicked" handler="button_cb" swapped="no"/> <child> - <object class="GtkButton" id="calc_modulus_divide_button"> - <property name="label">mod</property> + <object class="GtkLabel" id="label1"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb" swapped="no"/> + <property name="label">|<i>x</i>|</property> + <property name="use_markup">True</property> </object> - <packing> - <property name="left_attach">3</property> - <property name="right_attach">4</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_start_group_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_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb" swapped="no"/> + </object> + <packing> + <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> + <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + </packing> + </child> + <child> + <object class="GtkButton" id="calc_real_portion_button"> + <property name="label">Re</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" swapped="no"/> + </object> + <packing> + <property name="left_attach">6</property> + <property name="right_attach">7</property> + <property name="top_attach">4</property> + <property name="bottom_attach">5</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_conjugate_button"> + <property name="label">conj</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" swapped="no"/> + </object> + <packing> + <property name="left_attach">8</property> + <property name="right_attach">9</property> + <property name="top_attach">4</property> + <property name="bottom_attach">5</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_arg_button"> + <property name="label">Arg</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" swapped="no"/> + </object> + <packing> + <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> + <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + </packing> + </child> + <child> + <object class="GtkButton" id="calc_natural_logarithm_button"> + <property name="label">ln</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" swapped="no"/> + </object> + <packing> + <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> + <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + </packing> + </child> + <child> + <object class="GtkButton" id="calc_logarithm_button"> + <property name="label">log</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="button_cb" swapped="no"/> + </object> + <packing> + <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> + <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + </packing> + </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> - <packing> - <property name="left_attach">4</property> - <property name="right_attach">5</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> + <signal name="clicked" handler="button_cb" swapped="no"/> <child> - <object class="GtkButton" id="calc_end_group_button"> - <property name="label">)</property> + <object class="GtkLabel" id="x_pow_y_label"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb" swapped="no"/> + <property name="label"><i>x</i><sup><i>y</i></sup></property> + <property name="use_markup">True</property> </object> - <packing> - <property name="left_attach">5</property> - <property name="right_attach">6</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> + <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="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" swapped="no"/> + </object> + <packing> + <property name="left_attach">7</property> + <property name="right_attach">8</property> + <property name="top_attach">3</property> + <property name="bottom_attach">4</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_undo_button"> + <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="undo_cb" swapped="no"/> <child> - <object class="GtkButton" id="calc_recall_button"> + <object class="GtkImage" id="image2"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="focus_on_click">False</property> - <child internal-child="accessible"> - <object class="AtkObject" id="calc_recall_button-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the recall value button">Recall</property> - </object> - </child> - <signal name="clicked" handler="recall_cb" swapped="no"/> - <child> - <object class="GtkHBox" id="hbox19"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkLabel" id="label22"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes" comments="The label on the memory recall button">← R</property> - </object> - <packing> - <property name="expand">True</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkArrow" id="arrow13"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="arrow_type">down</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> - </child> - </object> - </child> + <property name="icon-name">edit-undo-symbolic</property> </object> - <packing> - <property name="left_attach">4</property> - <property name="right_attach">5</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> </child> + </object> + <packing> + <property name="left_attach">4</property> + <property name="right_attach">5</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_pi_button"> + <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" swapped="no"/> <child> - <object class="GtkButton" id="calc_store_button"> + <object class="GtkLabel" id="pi_label"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="focus_on_click">False</property> - <child internal-child="accessible"> - <object class="AtkObject" id="calc_store_button-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the store value button">Store</property> - </object> - </child> - <signal name="clicked" handler="store_cb" swapped="no"/> - <child> - <object class="GtkHBox" id="hbox20"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkLabel" id="label23"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes" comments="The label on the memory store button">→ R</property> - </object> - <packing> - <property name="expand">True</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkArrow" id="arrow14"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="arrow_type">down</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> - </child> - </object> - </child> + <property name="label">π</property> + <property name="use_markup">True</property> </object> - <packing> - <property name="left_attach">5</property> - <property name="right_attach">6</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> </child> + </object> + <packing> + <property name="left_attach">4</property> + <property name="right_attach">5</property> + <property name="top_attach">3</property> + <property name="bottom_attach">4</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_eulers_number_button"> + <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" swapped="no"/> <child> - <object class="GtkButton" id="calc_real_portion_button"> - <property name="label">Re</property> + <object class="GtkLabel" id="eulers_number_label"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb" swapped="no"/> + <property name="label"><i>e</i></property> + <property name="use_markup">True</property> </object> - <packing> - <property name="left_attach">6</property> - <property name="right_attach">7</property> - <property name="top_attach">4</property> - <property name="bottom_attach">5</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> + <packing> + <property name="left_attach">5</property> + <property name="right_attach">6</property> + <property name="top_attach">3</property> + <property name="bottom_attach">4</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="GtkTable" id="table1"> + <property name="visible">True</property> + <property name="n_rows">2</property> + <property name="n_columns">3</property> + <property name="homogeneous">True</property> <child> - <object class="GtkButton" id="calc_conjugate_button"> - <property name="label">conj</property> + <object class="GtkButton" id="calc_cosine_button"> + <property name="label">cos</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> <property name="focus_on_click">False</property> <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> - <property name="left_attach">8</property> - <property name="right_attach">9</property> - <property name="top_attach">4</property> - <property name="bottom_attach">5</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_natural_logarithm_button"> - <property name="label">ln</property> + <object class="GtkButton" id="calc_sine_button"> + <property name="label">sin</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> <property name="focus_on_click">False</property> <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> - <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="left_attach">1</property> + <property name="right_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> <child> - <object class="GtkButton" id="calc_logarithm_button"> - <property name="label">log</property> + <object class="GtkButton" id="calc_tangent_button"> + <property name="label">tan</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> <property name="focus_on_click">False</property> <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> - <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="left_attach">2</property> + <property name="right_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> </child> <child> - <object class="GtkButton" id="calc_x_pow_y_button"> + <object class="GtkButton" id="calc_hyperbolic_cosine_button"> + <property name="label">cosh</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="use_action_appearance">False</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" swapped="no"/> - <child> - <object class="GtkLabel" id="x_pow_y_label"> - <property name="visible">True</property> - <property name="can_focus">False</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="top_attach">3</property> - <property name="bottom_attach">4</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> <child> - <object class="GtkButton" id="calc_root_button"> - <property name="label">√</property> + <object class="GtkButton" id="calc_hyperbolic_sine_button"> + <property name="label">sinh</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> <property name="focus_on_click">False</property> <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> - <property name="left_attach">7</property> - <property name="right_attach">8</property> - <property name="top_attach">3</property> - <property name="bottom_attach">4</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_undo_button"> - <property name="label" translatable="yes" comments="Label on the undo button">Undo</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="undo_cb" swapped="no"/> - </object> - <packing> - <property name="left_attach">4</property> - <property name="right_attach">5</property> + <property name="left_attach">1</property> + <property name="right_attach">2</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> <child> - <object class="GtkButton" id="calc_pi_button"> + <object class="GtkButton" id="calc_hyperbolic_tangent_button"> + <property name="label">tanh</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> <property name="focus_on_click">False</property> <signal name="clicked" handler="button_cb" swapped="no"/> - <child> - <object class="GtkLabel" id="pi_label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label">π</property> - <property name="use_markup">True</property> - </object> - </child> </object> <packing> - <property name="left_attach">4</property> - <property name="right_attach">5</property> - <property name="top_attach">3</property> - <property name="bottom_attach">4</property> + <property name="left_attach">2</property> + <property name="right_attach">3</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> - <child> - <object class="GtkButton" id="calc_eulers_number_button"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb" swapped="no"/> - <child> - <object class="GtkLabel" id="eulers_number_label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label"><i>e</i></property> - <property name="use_markup">True</property> - </object> - </child> + </object> + <packing> + <property name="left_attach">6</property> + <property name="right_attach">10</property> + <property name="bottom_attach">2</property> + </packing> + </child> + <child> + <object class="GtkButton" id="calc_function_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_function_button-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the store value button">Store</property> </object> - <packing> - <property name="left_attach">5</property> - <property name="right_attach">6</property> - <property name="top_attach">3</property> - <property name="bottom_attach">4</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> + <signal name="clicked" handler="function_cb" swapped="no"/> <child> - <object class="GtkTable" id="table1"> + <object class="GtkHBox" id="hbox2"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="n_rows">3</property> - <property name="n_columns">3</property> - <property name="homogeneous">True</property> - <child> - <object class="GtkButton" id="calc_cosine_button"> - <property name="label">cos</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb" swapped="no"/> - </object> - <packing> - <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_sine_button"> - <property name="label">sin</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb" swapped="no"/> - </object> - <packing> - <property name="left_attach">1</property> - <property name="right_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> <child> - <object class="GtkButton" id="calc_tangent_button"> - <property name="label">tan</property> + <object class="GtkLabel" id="label5"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb" swapped="no"/> + <property name="label">f(x)</property> </object> <packing> - <property name="left_attach">2</property> - <property name="right_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> + <property name="position">0</property> </packing> </child> <child> - <object class="GtkButton" id="calc_hyperbolic_cosine_button"> - <property name="label">cosh</property> + <object class="GtkArrow" id="arrow1"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb" swapped="no"/> + <property name="arrow_type">down</property> </object> <packing> - <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> + <property name="expand">False</property> + <property name="position">1</property> </packing> </child> - <child> - <object class="GtkButton" id="calc_hyperbolic_sine_button"> - <property name="label">sinh</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb" swapped="no"/> - </object> - <packing> - <property name="left_attach">1</property> - <property name="right_attach">2</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> - <child> - <object class="GtkButton" id="calc_hyperbolic_tangent_button"> - <property name="label">tanh</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb" swapped="no"/> - </object> - <packing> - <property name="left_attach">2</property> - <property name="right_attach">3</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> - <child> - <object class="GtkButton" id="calc_inverse_cosine_button"> - <property name="label" translatable="yes">acos</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb" swapped="no"/> - </object> - <packing> - <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> - </child> - <child> - <object class="GtkButton" id="calc_inverse_sine_button"> - <property name="label" translatable="yes">asin</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb" swapped="no"/> - </object> - <packing> - <property name="left_attach">1</property> - <property name="right_attach">2</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> - </child> - <child> - <object class="GtkButton" id="calc_inverse_tangent_button"> - <property name="label" translatable="yes">atan</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb" swapped="no"/> - </object> - <packing> - <property name="left_attach">2</property> - <property name="right_attach">3</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> - </child> - </object> - <packing> - <property name="left_attach">6</property> - <property name="right_attach">10</property> - <property name="bottom_attach">3</property> - </packing> - </child> - <child> - <object class="GtkButton" id="calc_function_button"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="focus_on_click">False</property> - <child internal-child="accessible"> - <object class="AtkObject" id="calc_function_button-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the store value button">Store</property> - </object> - </child> - <signal name="clicked" handler="function_cb" swapped="no"/> - <child> - <object class="GtkHBox" id="hbox2"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkLabel" id="label5"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label">f(x)</property> - </object> - <packing> - <property name="expand">True</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkArrow" id="arrow1"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="arrow_type">down</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> - </child> - </object> - </child> - </object> - <packing> - <property name="left_attach">9</property> - <property name="right_attach">10</property> - <property name="top_attach">4</property> - <property name="bottom_attach">5</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_inverse_button"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</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" swapped="no"/> - <child> - <object class="GtkLabel" id="label20"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label"><i>x</i><sup>−1</sup></property> - <property name="use_markup">True</property> - <property name="justify">center</property> - </object> - </child> - </object> - <packing> - <property name="left_attach">10</property> - <property name="right_attach">11</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> - <child> - <object class="GtkButton" id="calc_factorial_button"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="focus_on_click">False</property> - <child internal-child="accessible"> - <object class="AtkObject" id="calc_factorial_button-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the factorial button">Factorial</property> - </object> - </child> - <signal name="clicked" handler="button_cb" swapped="no"/> - <child> - <object class="GtkLabel" id="label14"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label"><i>x</i>!</property> - <property name="use_markup">True</property> - </object> - </child> </object> - <packing> - <property name="left_attach">10</property> - <property name="right_attach">11</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> - </child> - <child> - <object class="GtkButton" id="calc_abs_button"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <child internal-child="accessible"> - <object class="AtkObject" id="calc_abs_button-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the absolute value button">Absolute Value</property> - </object> - </child> - <signal name="clicked" handler="button_cb" swapped="no"/> - <child> - <object class="GtkLabel" id="label1"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label">|<i>x</i>|</property> - <property name="use_markup">True</property> - </object> - </child> - </object> - <packing> - <property name="left_attach">10</property> - <property name="right_attach">11</property> - <property name="top_attach">3</property> - <property name="bottom_attach">4</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_arg_button"> - <property name="label">Arg</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb" swapped="no"/> - </object> - <packing> - <property name="left_attach">10</property> - <property name="right_attach">11</property> - <property name="top_attach">4</property> - <property name="bottom_attach">5</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> - <placeholder/> </child> </object> <packing> - <property name="expand">True</property> - <property name="fill">True</property> - <property name="position">1</property> + <property name="left_attach">9</property> + <property name="right_attach">10</property> + <property name="top_attach">4</property> + <property name="bottom_attach">5</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> diff --git a/data/buttons-basic.ui b/data/buttons-basic.ui index c9c74fa..c8b1de6 100644 --- a/data/buttons-basic.ui +++ b/data/buttons-basic.ui @@ -1,4 +1,4 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="UTF-8"?> <interface> <requires lib="gtk+" version="2.16"/> <!-- interface-naming-policy toplevel-contextual --> @@ -115,7 +115,7 @@ </child> <child> <object class="GtkButton" id="calc_divide_button"> - <property name="label">÷</property> + <property name="label">÷</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -169,6 +169,7 @@ <child> <object class="GtkButton" id="calc_0_button"> <property name="label">0</property> + <property name="width_request">50</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -242,7 +243,7 @@ </child> <child> <object class="GtkButton" id="calc_multiply_button"> - <property name="label">×</property> + <property name="label">×</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -261,7 +262,7 @@ </child> <child> <object class="GtkButton" id="calc_subtract_button"> - <property name="label">−</property> + <property name="label">−</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -356,13 +357,18 @@ </child> <child> <object class="GtkButton" id="calc_clear_button"> - <property name="label" translatable="yes" comments="Label on the clear display button">Clear</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="clear_cb"/> + <child> + <object class="GtkImage" id="image2"> + <property name="visible">True</property> + <property name="icon-name">edit-clear-symbolic</property> + </object> + </child> </object> <packing> <property name="left_attach">5</property> @@ -373,7 +379,7 @@ </child> <child> <object class="GtkButton" id="calc_square_root_button"> - <property name="label">√</property> + <property name="label">√</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -421,13 +427,18 @@ </child> <child> <object class="GtkButton" id="calc_undo_button"> - <property name="label" translatable="yes" comments="Label on the undo button">Undo</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="undo_cb"/> + <child> + <object class="GtkImage" id="image1"> + <property name="visible">True</property> + <property name="icon-name">edit-undo-symbolic</property> + </object> + </child> </object> <packing> <property name="left_attach">4</property> diff --git a/data/buttons-financial.ui b/data/buttons-financial.ui index 846adf8..1629924 100644 --- a/data/buttons-financial.ui +++ b/data/buttons-financial.ui @@ -1,833 +1,67 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="UTF-8"?> <interface> <requires lib="gtk+" version="2.16"/> <!-- interface-naming-policy toplevel-contextual --> - <object class="GtkWindow" id="window1"> - <child> - <object class="GtkVBox" id="button_panel"> + <object class="GtkDialog" id="ctrm_dialog"> + <property name="can_focus">False</property> + <property name="border_width">6</property> + <property name="title" translatable="yes" comments="Title of Compounding Term dialog">Compounding Term</property> + <property name="resizable">False</property> + <property name="type_hint">dialog</property> + <signal name="response" handler="finc_response_cb" swapped="no"/> + <child internal-child="vbox"> + <object class="GtkVBox" id="dialog-vbox1"> <property name="visible">True</property> - <property name="spacing">6</property> - <child> - <object class="GtkHBox" id="hbox1"> + <property name="can_focus">False</property> + <child internal-child="action_area"> + <object class="GtkHButtonBox" id="dialog-action_area1"> <property name="visible">True</property> - <property name="spacing">6</property> + <property name="can_focus">False</property> + <property name="layout_style">end</property> <child> - <object class="GtkHBox" id="hbox2"> + <object class="GtkButton" id="button1"> + <property name="label">gtk-cancel</property> <property name="visible">True</property> - <child> - <object class="GtkComboBox" id="source_currency_combo"> - <property name="visible">True</property> - <property name="focus_on_click">False</property> - </object> - <packing> - <property name="expand">False</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label1"> - <property name="visible">True</property> - <property name="xalign">1</property> - <property name="label" translatable="yes" comments="This is between the currency selector dropdowns, for example: [USD] in [EUR]"> in </property> - </object> - <packing> - <property name="position">1</property> - </packing> - </child> - <child> - <object class="GtkComboBox" id="target_currency_combo"> - <property name="visible">True</property> - <property name="focus_on_click">False</property> - </object> - <packing> - <property name="expand">False</property> - <property name="position">2</property> - </packing> - </child> + <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> + <property name="use_stock">True</property> </object> <packing> <property name="expand">False</property> + <property name="fill">False</property> <property name="position">0</property> </packing> </child> <child> - <object class="GtkLabel" id="currency_label"> + <object class="GtkButton" id="button2"> + <property name="label" translatable="yes" comments="Compounding Term Dialog: Calculate button">C_alculate</property> <property name="visible">True</property> - <property name="xalign">1</property> - <property name="label" comments="Example content">$100 = €120</property> - <child internal-child="accessible"> - <object class="AtkObject" id="currency_label-atkobject"> - <property name="AtkObject::accessible-name">currency_label</property> - <property name="AtkObject::accessible-description">Displays a currency conversion</property> - </object> - </child> + <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> </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">True</property> + <property name="pack_type">end</property> <property name="position">0</property> </packing> </child> <child> - <object class="GtkTable" id="button_table"> - <property name="visible">True</property> - <property name="n_rows">4</property> - <property name="n_columns">10</property> - <property name="homogeneous">True</property> - <child> - <object class="GtkButton" id="calc_store_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_store_button-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the store value button">Store</property> - </object> - </child> - <signal name="clicked" handler="store_cb"/> - <child> - <object class="GtkHBox" id="hbox20"> - <property name="visible">True</property> - <property name="spacing">3</property> - <child> - <object class="GtkLabel" id="label23"> - <property name="visible">True</property> - <property name="label" translatable="yes" comments="The label on the memory store button">→ R</property> - </object> - <packing> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkArrow" id="arrow14"> - <property name="visible">True</property> - <property name="arrow_type">down</property> - </object> - <packing> - <property name="expand">False</property> - <property name="position">1</property> - </packing> - </child> - </object> - </child> - </object> - <packing> - <property name="left_attach">5</property> - <property name="right_attach">6</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> - </child> - <child> - <object class="GtkButton" id="calc_recall_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_recall_button-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the recall value button">Recall</property> - </object> - </child> - <signal name="clicked" handler="recall_cb"/> - <child> - <object class="GtkHBox" id="hbox19"> - <property name="visible">True</property> - <property name="spacing">3</property> - <child> - <object class="GtkLabel" id="label22"> - <property name="visible">True</property> - <property name="label" translatable="yes" comments="The label on the memory recall button">← R</property> - </object> - <packing> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkArrow" id="arrow13"> - <property name="visible">True</property> - <property name="arrow_type">down</property> - </object> - <packing> - <property name="expand">False</property> - <property name="position">1</property> - </packing> - </child> - </object> - </child> - </object> - <packing> - <property name="left_attach">4</property> - <property name="right_attach">5</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> - </child> - <child> - <object class="GtkButton" id="calc_logarithm_button"> - <property name="label">log</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">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">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> - </child> - <child> - <object class="GtkButton" id="calc_4_button"> - <property name="label">4</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="digit_cb"/> - </object> - <packing> - <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> - <child> - <object class="GtkButton" id="calc_7_button"> - <property name="label">7</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="digit_cb"/> - </object> - <packing> - <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_8_button"> - <property name="label">8</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="digit_cb"/> - </object> - <packing> - <property name="left_attach">1</property> - <property name="right_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> - <child> - <object class="GtkButton" id="calc_9_button"> - <property name="label">9</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="digit_cb"/> - </object> - <packing> - <property name="left_attach">2</property> - <property name="right_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> - </child> - <child> - <object class="GtkButton" id="calc_5_button"> - <property name="label">5</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="digit_cb"/> - </object> - <packing> - <property name="left_attach">1</property> - <property name="right_attach">2</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> - <child> - <object class="GtkButton" id="calc_6_button"> - <property name="label">6</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="digit_cb"/> - </object> - <packing> - <property name="left_attach">2</property> - <property name="right_attach">3</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> - <child> - <object class="GtkButton" id="calc_divide_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">3</property> - <property name="right_attach">4</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_1_button"> - <property name="label">1</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="digit_cb"/> - </object> - <packing> - <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> - </child> - <child> - <object class="GtkButton" id="calc_2_button"> - <property name="label">2</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="digit_cb"/> - </object> - <packing> - <property name="left_attach">1</property> - <property name="right_attach">2</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> - </child> - <child> - <object class="GtkButton" id="calc_0_button"> - <property name="label">0</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="digit_cb"/> - </object> - <packing> - <property name="top_attach">3</property> - <property name="bottom_attach">4</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_numeric_point_button"> - <property name="label" comments="Label is set in gtk.c to comply with LC flags">.</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="numeric_point_cb"/> - </object> - <packing> - <property name="left_attach">1</property> - <property name="right_attach">2</property> - <property name="top_attach">3</property> - <property name="bottom_attach">4</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_percentage_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">2</property> - <property name="right_attach">3</property> - <property name="top_attach">3</property> - <property name="bottom_attach">4</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_3_button"> - <property name="label">3</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="digit_cb"/> - </object> - <packing> - <property name="left_attach">2</property> - <property name="right_attach">3</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> - </child> - <child> - <object class="GtkButton" id="calc_multiply_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">3</property> - <property name="right_attach">4</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> - <child> - <object class="GtkButton" id="calc_subtract_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="subtract_cb"/> - </object> - <packing> - <property name="left_attach">3</property> - <property name="right_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> - </child> - <child> - <object class="GtkButton" id="calc_add_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">3</property> - <property name="right_attach">4</property> - <property name="top_attach">3</property> - <property name="bottom_attach">4</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_result_button"> - <property name="label" translatable="yes" comments="Label on the solve button (clicking this solves the displayed calculation)">=</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="solve_cb"/> - </object> - <packing> - <property name="left_attach">4</property> - <property name="right_attach">6</property> - <property name="top_attach">3</property> - <property name="bottom_attach">4</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_start_group_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">4</property> - <property name="right_attach">5</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> - <child> - <object class="GtkButton" id="calc_end_group_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">5</property> - <property name="right_attach">6</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> - <child> - <object class="GtkButton" id="calc_clear_button"> - <property name="label" translatable="yes" comments="Label on the clear display button">Clear</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="clear_cb"/> - </object> - <packing> - <property name="left_attach">5</property> - <property name="right_attach">6</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_finc_compounding_term_button"> - <property name="label" translatable="yes" comments="Calculates the number of compounding periods necessary to increase an investment of present value pv to a future value of fv, at a fixed interest rate of int per compounding period. See also: http://en.wikipedia.org/wiki/Compound_interest">Ctrm</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="finc_cb"/> - </object> - <packing> - <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> - </child> - <child> - <object class="GtkButton" id="calc_finc_double_declining_depreciation_button"> - <property name="label" translatable="yes" comments="Calculates the depreciation allowance on an asset for a specified period of time, using the double-declining balance method. See also: http://en.wikipedia.org/wiki/Depreciation">Ddb</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="finc_cb"/> - </object> - <packing> - <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> - </child> - <child> - <object class="GtkButton" id="calc_finc_future_value_button"> - <property name="label" translatable="yes" comments="Calculates the future value of an investment based on a series of equal payments, each of amount pmt, at a periodic interest rate of int, over the number of payment periods in the term. See also: http://en.wikipedia.org/wiki/Future_value">Fv</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="finc_cb"/> - </object> - <packing> - <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> - </child> - <child> - <object class="GtkButton" id="calc_finc_term_button"> - <property name="label" translatable="yes" comments="Calculates the number of payment periods that are necessary during the term of an ordinary annuity, to accumulate a future value of fv, at a periodic interest rate of int. Each payment is equal to amount pmt. See also: http://en.wikipedia.org/wiki/Annuity_(finance_theory)">Term</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="finc_cb"/> - </object> - <packing> - <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> - <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> - </packing> - </child> - <child> - <object class="GtkButton" id="calc_finc_sum_of_the_years_digits_depreciation_button"> - <property name="label" translatable="yes" comments="Calculates the depreciation allowance on an asset for a specified period of time, using the Sum-Of-The-Years'-Digits method. This method of depreciation accelerates the rate of depreciation, so that more depreciation expense occurs in earlier periods than in later ones. The depreciable cost is cost - salvage. The useful life is the number of periods, typically years, over which an asset is depreciated. See also: http://en.wikipedia.org/wiki/Depreciation">Syd</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="finc_cb"/> - </object> - <packing> - <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> - <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> - </packing> - </child> - <child> - <object class="GtkButton" id="calc_finc_straight_line_depreciation_button"> - <property name="label" translatable="yes" comments="Calculates the straight-line depreciation of an asset for one period. The depreciable cost is cost - salvage. The straight-line method of depreciation divides the depreciable cost evenly over the useful life of an asset. The useful life is the number of periods, typically years, over which an asset is depreciated. See also: http://en.wikipedia.org/wiki/Depreciation">Sln</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="finc_cb"/> - </object> - <packing> - <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> - <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> - </packing> - </child> - <child> - <object class="GtkButton" id="calc_finc_periodic_interest_rate_button"> - <property name="label" translatable="yes" comments="Calculates the periodic interest necessary to increase an investment of present value pv to a future value of fv, over the number of compounding periods in term. See also: http://en.wikipedia.org/wiki/Interest ">Rate</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="finc_cb"/> - </object> - <packing> - <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> - <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> - </packing> - </child> - <child> - <object class="GtkButton" id="calc_finc_present_value_button"> - <property name="label" translatable="yes" comments="Calculates the present value of an investment based on a series of equal payments, each of amount pmt, discounted at a periodic interest rate of int, over the number of payment periods in the term. See also: http://en.wikipedia.org/wiki/Present_value">Pv</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="finc_cb"/> - </object> - <packing> - <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> - <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> - </packing> - </child> - <child> - <object class="GtkButton" id="calc_finc_periodic_payment_button"> - <property name="label" translatable="yes" comments="Calculates the amount of the periodic payment of a loan, where payments are made at the end of each payment period. See also: http://en.wikipedia.org/wiki/Amortization_schedule">Pmt</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="finc_cb"/> - </object> - <packing> - <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> - <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> - </packing> - </child> - <child> - <object class="GtkButton" id="calc_finc_gross_profit_margin_button"> - <property name="label" translatable="yes" comments="Calculates the resale price of a product, based on the product cost and the wanted gross profit margin. See also: http://en.wikipedia.org/wiki/Gross_profit_margin">Gpm</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="finc_cb"/> - </object> - <packing> - <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> - <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> - </packing> - </child> - <child> - <object class="GtkButton" id="calc_undo_button"> - <property name="label" translatable="yes" comments="Label on the clear display button">Undo</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> - </object> - <packing> - <property name="left_attach">4</property> - <property name="right_attach">5</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_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> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - </object> - <packing> - <property name="position">1</property> - </packing> - </child> - </object> - </child> - </object> - <object class="GtkDialog" id="ctrm_dialog"> - <property name="border_width">6</property> - <property name="title" translatable="yes" comments="Title of Compounding Term dialog">Compounding Term</property> - <property name="resizable">False</property> - <property name="type_hint">dialog</property> - <property name="has_separator">False</property> - <signal name="response" handler="finc_response_cb"/> - <child internal-child="vbox"> - <object class="GtkVBox" id="dialog-vbox1"> - <property name="visible">True</property> - <child> <object class="GtkTable" id="table1"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="border_width">6</property> <property name="n_rows">4</property> <property name="n_columns">2</property> @@ -837,9 +71,9 @@ <object class="GtkEntry" id="ctrm_pint"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -853,9 +87,9 @@ <object class="GtkEntry" id="ctrm_fv"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -869,9 +103,9 @@ <object class="GtkEntry" id="ctrm_pv"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -884,6 +118,7 @@ <child> <object class="GtkLabel" id="label5"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Compounding Term Dialog: Label before present value input">Present _Value:</property> <property name="use_underline">True</property> @@ -899,6 +134,7 @@ <child> <object class="GtkLabel" id="label6"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Compounding Term Dialog: Label before periodic interest rate input">Periodic Interest _Rate:</property> <property name="use_underline">True</property> @@ -914,6 +150,7 @@ <child> <object class="GtkLabel" id="label9"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label" translatable="yes" comments="Compounding Term Dialog: Description of calculation">Calculates the number of compounding periods necessary to increase an investment of present value to a future value, at a fixed interest rate per compounding period.</property> <property name="wrap">True</property> </object> @@ -926,6 +163,7 @@ <child> <object class="GtkLabel" id="label16"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Compounding Term Dialog: Label before future value input">_Future Value:</property> <property name="use_underline">True</property> @@ -940,20 +178,42 @@ </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">button1</action-widget> + <action-widget response="-5">button2</action-widget> + </action-widgets> + </object> + <object class="GtkDialog" id="ddb_dialog"> + <property name="can_focus">False</property> + <property name="border_width">6</property> + <property name="title" translatable="yes" comments="Title of Double-Declining Depreciation dialog">Double-Declining Depreciation</property> + <property name="resizable">False</property> + <property name="type_hint">dialog</property> + <signal name="response" handler="finc_response_cb" swapped="no"/> + <child internal-child="vbox"> + <object class="GtkVBox" id="dialog-vbox2"> + <property name="visible">True</property> + <property name="can_focus">False</property> <child internal-child="action_area"> - <object class="GtkHButtonBox" id="dialog-action_area1"> + <object class="GtkHButtonBox" id="dialog-action_area2"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="layout_style">end</property> <child> - <object class="GtkButton" id="button1"> + <object class="GtkButton" id="button3"> <property name="label">gtk-cancel</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_stock">True</property> </object> <packing> @@ -963,12 +223,13 @@ </packing> </child> <child> - <object class="GtkButton" id="button2"> - <property name="label" translatable="yes" comments="Compounding Term Dialog: Calculate button">C_alculate</property> + <object class="GtkButton" id="button4"> + <property name="label" translatable="yes" comments="Double-Declining Depreciation Dialog: Calculate button">C_alculate</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> </object> <packing> @@ -980,30 +241,15 @@ </object> <packing> <property name="expand">False</property> + <property name="fill">True</property> <property name="pack_type">end</property> <property name="position">0</property> </packing> </child> - </object> - </child> - <action-widgets> - <action-widget response="-6">button1</action-widget> - <action-widget response="-5">button2</action-widget> - </action-widgets> - </object> - <object class="GtkDialog" id="ddb_dialog"> - <property name="border_width">6</property> - <property name="title" translatable="yes" comments="Title of Double-Declining Depreciation dialog">Double-Declining Depreciation</property> - <property name="resizable">False</property> - <property name="type_hint">dialog</property> - <property name="has_separator">False</property> - <signal name="response" handler="finc_response_cb"/> - <child internal-child="vbox"> - <object class="GtkVBox" id="dialog-vbox2"> - <property name="visible">True</property> <child> <object class="GtkTable" id="table2"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="border_width">6</property> <property name="n_rows">4</property> <property name="n_columns">2</property> @@ -1012,6 +258,7 @@ <child> <object class="GtkLabel" id="label7"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label" translatable="yes" comments="Double-Declining Depreciation Dialog: Description of calculation">Calculates the depreciation allowance on an asset for a specified period of time, using the double-declining balance method.</property> <property name="wrap">True</property> </object> @@ -1024,6 +271,7 @@ <child> <object class="GtkLabel" id="label8"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Double-Declining Depreciation Dialog: Label before cost input">C_ost:</property> <property name="use_underline">True</property> @@ -1039,6 +287,7 @@ <child> <object class="GtkLabel" id="label10"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Double-Declining Depreciation Dialog: Label before life input">_Life:</property> <property name="use_underline">True</property> @@ -1055,9 +304,9 @@ <object class="GtkEntry" id="ddb_life"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -1071,9 +320,9 @@ <object class="GtkEntry" id="ddb_cost"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -1086,6 +335,7 @@ <child> <object class="GtkLabel" id="label11"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Double-Declining Depreciation Dialog: Label before period input">_Period:</property> <property name="use_underline">True</property> @@ -1102,9 +352,9 @@ <object class="GtkEntry" id="ddb_period"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -1116,20 +366,42 @@ </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">button3</action-widget> + <action-widget response="-5">button4</action-widget> + </action-widgets> + </object> + <object class="GtkDialog" id="fv_dialog"> + <property name="can_focus">False</property> + <property name="border_width">6</property> + <property name="title" translatable="yes" comments="Title of Future Value dialog">Future Value</property> + <property name="resizable">False</property> + <property name="type_hint">dialog</property> + <signal name="response" handler="finc_response_cb" swapped="no"/> + <child internal-child="vbox"> + <object class="GtkVBox" id="dialog-vbox3"> + <property name="visible">True</property> + <property name="can_focus">False</property> <child internal-child="action_area"> - <object class="GtkHButtonBox" id="dialog-action_area2"> + <object class="GtkHButtonBox" id="dialog-action_area3"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="layout_style">end</property> <child> - <object class="GtkButton" id="button3"> + <object class="GtkButton" id="button5"> <property name="label">gtk-cancel</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_stock">True</property> </object> <packing> @@ -1139,12 +411,13 @@ </packing> </child> <child> - <object class="GtkButton" id="button4"> - <property name="label" translatable="yes" comments="Double-Declining Depreciation Dialog: Calculate button">C_alculate</property> + <object class="GtkButton" id="button6"> + <property name="label" translatable="yes" comments="Future Value Dialog: Calculate button">C_alculate</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> </object> <packing> @@ -1156,30 +429,15 @@ </object> <packing> <property name="expand">False</property> + <property name="fill">True</property> <property name="pack_type">end</property> <property name="position">0</property> </packing> </child> - </object> - </child> - <action-widgets> - <action-widget response="-6">button3</action-widget> - <action-widget response="-5">button4</action-widget> - </action-widgets> - </object> - <object class="GtkDialog" id="fv_dialog"> - <property name="border_width">6</property> - <property name="title" translatable="yes" comments="Title of Future Value dialog">Future Value</property> - <property name="resizable">False</property> - <property name="type_hint">dialog</property> - <property name="has_separator">False</property> - <signal name="response" handler="finc_response_cb"/> - <child internal-child="vbox"> - <object class="GtkVBox" id="dialog-vbox3"> - <property name="visible">True</property> <child> <object class="GtkTable" id="table3"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="border_width">6</property> <property name="n_rows">4</property> <property name="n_columns">2</property> @@ -1188,6 +446,7 @@ <child> <object class="GtkLabel" id="label12"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label" translatable="yes" comments="Future Value Dialog: Description of calculation">Calculates the future value of an investment based on a series of equal payments at a periodic interest rate over the number of payment periods in the term.</property> <property name="wrap">True</property> </object> @@ -1200,6 +459,7 @@ <child> <object class="GtkLabel" id="label13"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Future Value Dialog: Label before periodic payment input">_Periodic Payment:</property> <property name="use_underline">True</property> @@ -1215,6 +475,7 @@ <child> <object class="GtkLabel" id="label14"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Future Value Dialog: Label before periodic interest rate input">Periodic Interest _Rate:</property> <property name="use_underline">True</property> @@ -1230,6 +491,7 @@ <child> <object class="GtkLabel" id="label15"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Future Value Dialog: Label before number of periods input">_Number of Periods:</property> <property name="use_underline">True</property> @@ -1246,9 +508,9 @@ <object class="GtkEntry" id="fv_n"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -1262,9 +524,9 @@ <object class="GtkEntry" id="fv_pint"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -1278,9 +540,9 @@ <object class="GtkEntry" id="fv_pmt"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -1292,20 +554,42 @@ </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">button5</action-widget> + <action-widget response="-5">button6</action-widget> + </action-widgets> + </object> + <object class="GtkDialog" id="gpm_dialog"> + <property name="can_focus">False</property> + <property name="border_width">6</property> + <property name="title" translatable="yes" comments="Title of Gross Profit Margin dialog">Gross Profit Margin</property> + <property name="resizable">False</property> + <property name="type_hint">dialog</property> + <signal name="response" handler="finc_response_cb" swapped="no"/> + <child internal-child="vbox"> + <object class="GtkVBox" id="dialog-vbox10"> + <property name="visible">True</property> + <property name="can_focus">False</property> <child internal-child="action_area"> - <object class="GtkHButtonBox" id="dialog-action_area3"> + <object class="GtkHButtonBox" id="dialog-action_area10"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="layout_style">end</property> <child> - <object class="GtkButton" id="button5"> + <object class="GtkButton" id="button19"> <property name="label">gtk-cancel</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_stock">True</property> </object> <packing> @@ -1315,12 +599,13 @@ </packing> </child> <child> - <object class="GtkButton" id="button6"> - <property name="label" translatable="yes" comments="Future Value Dialog: Calculate button">C_alculate</property> + <object class="GtkButton" id="button20"> + <property name="label" translatable="yes" comments="Gross Profit Margin Dialog: Calculate button">C_alculate</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> </object> <packing> @@ -1332,30 +617,15 @@ </object> <packing> <property name="expand">False</property> + <property name="fill">True</property> <property name="pack_type">end</property> <property name="position">0</property> </packing> </child> - </object> - </child> - <action-widgets> - <action-widget response="-6">button5</action-widget> - <action-widget response="-5">button6</action-widget> - </action-widgets> - </object> - <object class="GtkDialog" id="gpm_dialog"> - <property name="border_width">6</property> - <property name="title" translatable="yes" comments="Title of Gross Profit Margin dialog">Gross Profit Margin</property> - <property name="resizable">False</property> - <property name="type_hint">dialog</property> - <property name="has_separator">False</property> - <signal name="response" handler="finc_response_cb"/> - <child internal-child="vbox"> - <object class="GtkVBox" id="dialog-vbox10"> - <property name="visible">True</property> <child> <object class="GtkTable" id="table10"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="border_width">6</property> <property name="n_rows">3</property> <property name="n_columns">2</property> @@ -1364,6 +634,7 @@ <child> <object class="GtkLabel" id="label47"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label" translatable="yes" comments="Gross Profit Margin Dialog: Description of calculation">Calculates the resale price of a product, based on the product cost and the wanted gross profit margin.</property> <property name="wrap">True</property> </object> @@ -1376,6 +647,7 @@ <child> <object class="GtkLabel" id="label48"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Gross Profit Margin Dialog: Label before cost input">C_ost:</property> <property name="use_underline">True</property> @@ -1391,6 +663,7 @@ <child> <object class="GtkLabel" id="label49"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Gross Profit Margin Dialog: Label before margin input">_Margin:</property> <property name="use_underline">True</property> @@ -1406,9 +679,9 @@ <object class="GtkEntry" id="gpm_cost"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -1422,9 +695,9 @@ <object class="GtkEntry" id="gpm_margin"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -1436,20 +709,42 @@ </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">button19</action-widget> + <action-widget response="-5">button20</action-widget> + </action-widgets> + </object> + <object class="GtkDialog" id="pmt_dialog"> + <property name="can_focus">False</property> + <property name="border_width">6</property> + <property name="title" translatable="yes" comments="Title of Periodic Payment dialog">Periodic Payment</property> + <property name="resizable">False</property> + <property name="type_hint">dialog</property> + <signal name="response" handler="finc_response_cb" swapped="no"/> + <child internal-child="vbox"> + <object class="GtkVBox" id="dialog-vbox4"> + <property name="visible">True</property> + <property name="can_focus">False</property> <child internal-child="action_area"> - <object class="GtkHButtonBox" id="dialog-action_area10"> + <object class="GtkHButtonBox" id="dialog-action_area4"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="layout_style">end</property> <child> - <object class="GtkButton" id="button19"> + <object class="GtkButton" id="button7"> <property name="label">gtk-cancel</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_stock">True</property> </object> <packing> @@ -1459,12 +754,13 @@ </packing> </child> <child> - <object class="GtkButton" id="button20"> - <property name="label" translatable="yes" comments="Gross Profit Margin Dialog: Calculate button">C_alculate</property> + <object class="GtkButton" id="button8"> + <property name="label" translatable="yes" comments="Periodic Payment Dialog: Calculate button">C_alculate</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> </object> <packing> @@ -1476,30 +772,15 @@ </object> <packing> <property name="expand">False</property> + <property name="fill">True</property> <property name="pack_type">end</property> <property name="position">0</property> </packing> </child> - </object> - </child> - <action-widgets> - <action-widget response="-6">button19</action-widget> - <action-widget response="-5">button20</action-widget> - </action-widgets> - </object> - <object class="GtkDialog" id="pmt_dialog"> - <property name="border_width">6</property> - <property name="title" translatable="yes" comments="Title of Periodic Payment dialog">Periodic Payment</property> - <property name="resizable">False</property> - <property name="type_hint">dialog</property> - <property name="has_separator">False</property> - <signal name="response" handler="finc_response_cb"/> - <child internal-child="vbox"> - <object class="GtkVBox" id="dialog-vbox4"> - <property name="visible">True</property> <child> <object class="GtkTable" id="table4"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="border_width">6</property> <property name="n_rows">4</property> <property name="n_columns">2</property> @@ -1508,6 +789,7 @@ <child> <object class="GtkLabel" id="label17"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Periodic Payment Dialog: Description of calculation">Calculates the amount of the periodic payment of a loan, where payments are made at the end of each payment period. </property> <property name="wrap">True</property> @@ -1521,6 +803,7 @@ <child> <object class="GtkLabel" id="label18"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Periodic Payment Dialog: Label before principal input">_Principal:</property> <property name="use_underline">True</property> @@ -1536,6 +819,7 @@ <child> <object class="GtkLabel" id="label19"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Periodic Payment Dialog: Label before periodic interest rate input">Periodic Interest _Rate:</property> <property name="use_underline">True</property> @@ -1551,6 +835,7 @@ <child> <object class="GtkLabel" id="label21"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Periodic Payment Dialog: Label before term input">_Term:</property> <property name="use_underline">True</property> @@ -1567,9 +852,9 @@ <object class="GtkEntry" id="pmt_prin"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -1583,9 +868,9 @@ <object class="GtkEntry" id="pmt_pint"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -1599,9 +884,9 @@ <object class="GtkEntry" id="pmt_n"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -1613,20 +898,42 @@ </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">button7</action-widget> + <action-widget response="-5">button8</action-widget> + </action-widgets> + </object> + <object class="GtkDialog" id="pv_dialog"> + <property name="can_focus">False</property> + <property name="border_width">6</property> + <property name="title" translatable="yes" comments="Title of Present Value dialog">Present Value</property> + <property name="resizable">False</property> + <property name="type_hint">dialog</property> + <signal name="response" handler="finc_response_cb" swapped="no"/> + <child internal-child="vbox"> + <object class="GtkVBox" id="dialog-vbox5"> + <property name="visible">True</property> + <property name="can_focus">False</property> <child internal-child="action_area"> - <object class="GtkHButtonBox" id="dialog-action_area4"> + <object class="GtkHButtonBox" id="dialog-action_area5"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="layout_style">end</property> <child> - <object class="GtkButton" id="button7"> + <object class="GtkButton" id="button9"> <property name="label">gtk-cancel</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_stock">True</property> </object> <packing> @@ -1636,12 +943,13 @@ </packing> </child> <child> - <object class="GtkButton" id="button8"> - <property name="label" translatable="yes" comments="Periodic Payment Dialog: Calculate button">C_alculate</property> + <object class="GtkButton" id="button10"> + <property name="label" translatable="yes" comments="Present Value Dialog: Calculate button">C_alculate</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> </object> <packing> @@ -1653,30 +961,15 @@ </object> <packing> <property name="expand">False</property> + <property name="fill">True</property> <property name="pack_type">end</property> <property name="position">0</property> </packing> </child> - </object> - </child> - <action-widgets> - <action-widget response="-6">button7</action-widget> - <action-widget response="-5">button8</action-widget> - </action-widgets> - </object> - <object class="GtkDialog" id="pv_dialog"> - <property name="border_width">6</property> - <property name="title" translatable="yes" comments="Title of Present Value dialog">Present Value</property> - <property name="resizable">False</property> - <property name="type_hint">dialog</property> - <property name="has_separator">False</property> - <signal name="response" handler="finc_response_cb"/> - <child internal-child="vbox"> - <object class="GtkVBox" id="dialog-vbox5"> - <property name="visible">True</property> <child> <object class="GtkTable" id="table5"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="border_width">6</property> <property name="n_rows">4</property> <property name="n_columns">2</property> @@ -1685,6 +978,7 @@ <child> <object class="GtkLabel" id="label36"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Present Value Dialog: Description of calculation">Calculates the present value of an investment based on a series of equal payments discounted at a periodic interest rate over the number of payment periods in the term. </property> <property name="wrap">True</property> @@ -1698,6 +992,7 @@ <child> <object class="GtkLabel" id="label24"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Present Value Dialog: Label before periodic payment input">_Periodic Payment:</property> <property name="use_underline">True</property> @@ -1713,6 +1008,7 @@ <child> <object class="GtkLabel" id="label25"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Present Value Dialog: Label before periodic interest rate input">Periodic Interest _Rate:</property> <property name="use_underline">True</property> @@ -1728,6 +1024,7 @@ <child> <object class="GtkLabel" id="label26"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Present Value Dialog: Label before number of periods input">_Number of Periods:</property> <property name="use_underline">True</property> @@ -1744,9 +1041,9 @@ <object class="GtkEntry" id="pv_pmt"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -1760,9 +1057,9 @@ <object class="GtkEntry" id="pv_pint"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -1776,9 +1073,9 @@ <object class="GtkEntry" id="pv_n"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -1790,20 +1087,42 @@ </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">button9</action-widget> + <action-widget response="-5">button10</action-widget> + </action-widgets> + </object> + <object class="GtkDialog" id="rate_dialog"> + <property name="can_focus">False</property> + <property name="border_width">6</property> + <property name="title" translatable="yes" comments="Title of Periodic Interest Rate dialog">Periodic Interest Rate</property> + <property name="resizable">False</property> + <property name="type_hint">dialog</property> + <signal name="response" handler="finc_response_cb" swapped="no"/> + <child internal-child="vbox"> + <object class="GtkVBox" id="dialog-vbox6"> + <property name="visible">True</property> + <property name="can_focus">False</property> <child internal-child="action_area"> - <object class="GtkHButtonBox" id="dialog-action_area5"> + <object class="GtkHButtonBox" id="dialog-action_area6"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="layout_style">end</property> <child> - <object class="GtkButton" id="button9"> + <object class="GtkButton" id="button11"> <property name="label">gtk-cancel</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_stock">True</property> </object> <packing> @@ -1813,12 +1132,13 @@ </packing> </child> <child> - <object class="GtkButton" id="button10"> - <property name="label" translatable="yes" comments="Present Value Dialog: Calculate button">C_alculate</property> + <object class="GtkButton" id="button12"> + <property name="label" translatable="yes" comments="Periodic Interest Rate Dialog: Calculate button">C_alculate</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> </object> <packing> @@ -1830,30 +1150,15 @@ </object> <packing> <property name="expand">False</property> + <property name="fill">True</property> <property name="pack_type">end</property> <property name="position">0</property> </packing> </child> - </object> - </child> - <action-widgets> - <action-widget response="-6">button9</action-widget> - <action-widget response="-5">button10</action-widget> - </action-widgets> - </object> - <object class="GtkDialog" id="rate_dialog"> - <property name="border_width">6</property> - <property name="title" translatable="yes" comments="Title of Periodic Interest Rate dialog">Periodic Interest Rate</property> - <property name="resizable">False</property> - <property name="type_hint">dialog</property> - <property name="has_separator">False</property> - <signal name="response" handler="finc_response_cb"/> - <child internal-child="vbox"> - <object class="GtkVBox" id="dialog-vbox6"> - <property name="visible">True</property> <child> <object class="GtkTable" id="table6"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="border_width">6</property> <property name="n_rows">4</property> <property name="n_columns">2</property> @@ -1862,6 +1167,7 @@ <child> <object class="GtkLabel" id="label28"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Periodic Interest Rate Dialog: Description of calculation">Calculates the periodic interest necessary to increase an investment to a future value, over the number of compounding periods. </property> <property name="wrap">True</property> @@ -1875,6 +1181,7 @@ <child> <object class="GtkLabel" id="label29"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Periodic Interest Rate Dialog: Label before future value input">_Future Value:</property> <property name="use_underline">True</property> @@ -1890,6 +1197,7 @@ <child> <object class="GtkLabel" id="label30"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Periodic Interest Rate Dialog: Label before present value input">Present _Value:</property> <property name="use_underline">True</property> @@ -1905,6 +1213,7 @@ <child> <object class="GtkLabel" id="label31"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Periodic Interest Rate Dialog: Label before term input">_Term:</property> <property name="use_underline">True</property> @@ -1921,9 +1230,9 @@ <object class="GtkEntry" id="rate_fv"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -1937,9 +1246,9 @@ <object class="GtkEntry" id="rate_pv"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -1953,9 +1262,9 @@ <object class="GtkEntry" id="rate_n"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -1967,20 +1276,42 @@ </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">button11</action-widget> + <action-widget response="-5">button12</action-widget> + </action-widgets> + </object> + <object class="GtkDialog" id="sln_dialog"> + <property name="can_focus">False</property> + <property name="border_width">6</property> + <property name="title" translatable="yes" comments="Title of Straight-Line Depreciation dialog">Straight-Line Depreciation</property> + <property name="resizable">False</property> + <property name="type_hint">dialog</property> + <signal name="response" handler="finc_response_cb" swapped="no"/> + <child internal-child="vbox"> + <object class="GtkVBox" id="dialog-vbox7"> + <property name="visible">True</property> + <property name="can_focus">False</property> <child internal-child="action_area"> - <object class="GtkHButtonBox" id="dialog-action_area6"> + <object class="GtkHButtonBox" id="dialog-action_area7"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="layout_style">end</property> <child> - <object class="GtkButton" id="button11"> + <object class="GtkButton" id="button13"> <property name="label">gtk-cancel</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_stock">True</property> </object> <packing> @@ -1990,12 +1321,13 @@ </packing> </child> <child> - <object class="GtkButton" id="button12"> - <property name="label" translatable="yes" comments="Periodic Interest Rate Dialog: Calculate button">C_alculate</property> + <object class="GtkButton" id="button14"> + <property name="label" translatable="yes" comments="Straight-Line Depreciation Dialog: Calculate button">C_alculate</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> </object> <packing> @@ -2007,30 +1339,15 @@ </object> <packing> <property name="expand">False</property> + <property name="fill">True</property> <property name="pack_type">end</property> <property name="position">0</property> </packing> </child> - </object> - </child> - <action-widgets> - <action-widget response="-6">button11</action-widget> - <action-widget response="-5">button12</action-widget> - </action-widgets> - </object> - <object class="GtkDialog" id="sln_dialog"> - <property name="border_width">6</property> - <property name="title" translatable="yes" comments="Title of Straight-Line Depreciation dialog">Straight-Line Depreciation</property> - <property name="resizable">False</property> - <property name="type_hint">dialog</property> - <property name="has_separator">False</property> - <signal name="response" handler="finc_response_cb"/> - <child internal-child="vbox"> - <object class="GtkVBox" id="dialog-vbox7"> - <property name="visible">True</property> <child> <object class="GtkTable" id="table7"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="border_width">6</property> <property name="n_rows">4</property> <property name="n_columns">2</property> @@ -2039,6 +1356,7 @@ <child> <object class="GtkLabel" id="label33"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Straight-Line Depreciation Dialog: Label before cost input">_Cost:</property> <property name="use_underline">True</property> @@ -2054,6 +1372,7 @@ <child> <object class="GtkLabel" id="label34"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Straight-Line Depreciation Dialog: Label before salvage input">_Salvage:</property> <property name="use_underline">True</property> @@ -2069,6 +1388,7 @@ <child> <object class="GtkLabel" id="label35"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Straight-Line Depreciation Dialog: Label before life input">_Life:</property> <property name="use_underline">True</property> @@ -2085,9 +1405,9 @@ <object class="GtkEntry" id="sln_life"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -2101,9 +1421,9 @@ <object class="GtkEntry" id="sln_salvage"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -2117,9 +1437,9 @@ <object class="GtkEntry" id="sln_cost"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -2132,6 +1452,7 @@ <child> <object class="GtkLabel" id="label32"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Straight-Line Depreciation Dialog: Description of calculation">Calculates the straight-line depreciation of an asset for one period. The straight-line method of depreciation divides the depreciable cost evenly over the useful life of an asset. The useful life is the number of periods, typically years, over which an asset is depreciated. </property> <property name="wrap">True</property> @@ -2144,20 +1465,42 @@ </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">button13</action-widget> + <action-widget response="-5">button14</action-widget> + </action-widgets> + </object> + <object class="GtkDialog" id="syd_dialog"> + <property name="can_focus">False</property> + <property name="border_width">6</property> + <property name="title" translatable="yes" comments="Title of Sum-of-the-Years'-Digits Depreciation dialog">Sum-of-the-Years'-Digits Depreciation</property> + <property name="resizable">False</property> + <property name="type_hint">dialog</property> + <signal name="response" handler="finc_response_cb" swapped="no"/> + <child internal-child="vbox"> + <object class="GtkVBox" id="dialog-vbox8"> + <property name="visible">True</property> + <property name="can_focus">False</property> <child internal-child="action_area"> - <object class="GtkHButtonBox" id="dialog-action_area7"> + <object class="GtkHButtonBox" id="dialog-action_area8"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="layout_style">end</property> <child> - <object class="GtkButton" id="button13"> + <object class="GtkButton" id="button15"> <property name="label">gtk-cancel</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_stock">True</property> </object> <packing> @@ -2167,12 +1510,13 @@ </packing> </child> <child> - <object class="GtkButton" id="button14"> - <property name="label" translatable="yes" comments="Straight-Line Depreciation Dialog: Calculate button">C_alculate</property> + <object class="GtkButton" id="button16"> + <property name="label" translatable="yes" comments="Sum-of-the-Years'-Digits Depreciation Dialog: Calculate result button">C_alculate</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> </object> <packing> @@ -2184,30 +1528,15 @@ </object> <packing> <property name="expand">False</property> + <property name="fill">True</property> <property name="pack_type">end</property> <property name="position">0</property> </packing> </child> - </object> - </child> - <action-widgets> - <action-widget response="-6">button13</action-widget> - <action-widget response="-5">button14</action-widget> - </action-widgets> - </object> - <object class="GtkDialog" id="syd_dialog"> - <property name="border_width">6</property> - <property name="title" translatable="yes" comments="Title of Sum-of-the-Years'-Digits Depreciation dialog">Sum-of-the-Years'-Digits Depreciation</property> - <property name="resizable">False</property> - <property name="type_hint">dialog</property> - <property name="has_separator">False</property> - <signal name="response" handler="finc_response_cb"/> - <child internal-child="vbox"> - <object class="GtkVBox" id="dialog-vbox8"> - <property name="visible">True</property> <child> <object class="GtkTable" id="table8"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="border_width">6</property> <property name="n_rows">5</property> <property name="n_columns">2</property> @@ -2216,6 +1545,7 @@ <child> <object class="GtkLabel" id="label37"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Sum-of-the-Years'-Digits Depreciation Dialog: Label before period input">_Period:</property> <property name="use_underline">True</property> @@ -2231,6 +1561,7 @@ <child> <object class="GtkLabel" id="label38"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Sum-of-the-Years'-Digits Depreciation Dialog: Label before life input">_Life:</property> <property name="use_underline">True</property> @@ -2246,6 +1577,7 @@ <child> <object class="GtkLabel" id="label39"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Sum-of-the-Years'-Digits Depreciation Dialog: Label before salvage input">_Salvage:</property> <property name="use_underline">True</property> @@ -2261,6 +1593,7 @@ <child> <object class="GtkLabel" id="label40"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Sum-of-the-Years'-Digits Depreciation Dialog: Label before cost input">_Cost:</property> <property name="use_underline">True</property> @@ -2277,9 +1610,9 @@ <object class="GtkEntry" id="syd_cost"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -2293,9 +1626,9 @@ <object class="GtkEntry" id="syd_salvage"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -2309,9 +1642,9 @@ <object class="GtkEntry" id="syd_life"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -2325,9 +1658,9 @@ <object class="GtkEntry" id="syd_period"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -2340,6 +1673,7 @@ <child> <object class="GtkLabel" id="label41"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Sum-of-the-Years'-Digits Depreciation Dialog: Description of calculation">Calculates the depreciation allowance on an asset for a specified period of time, using the Sum-of-the-Years'-Digits method. This method of depreciation accelerates the rate of depreciation, so that more depreciation expense occurs in earlier periods than in later ones. The useful life is the number of periods, typically years, over which an asset is depreciated. </property> <property name="wrap">True</property> @@ -2352,20 +1686,42 @@ </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">button15</action-widget> + <action-widget response="-5">button16</action-widget> + </action-widgets> + </object> + <object class="GtkDialog" id="term_dialog"> + <property name="can_focus">False</property> + <property name="border_width">6</property> + <property name="title" translatable="yes" comments="Title of Payment Period dialog">Payment Period</property> + <property name="resizable">False</property> + <property name="type_hint">dialog</property> + <signal name="response" handler="finc_response_cb" swapped="no"/> + <child internal-child="vbox"> + <object class="GtkVBox" id="dialog-vbox9"> + <property name="visible">True</property> + <property name="can_focus">False</property> <child internal-child="action_area"> - <object class="GtkHButtonBox" id="dialog-action_area8"> + <object class="GtkHButtonBox" id="dialog-action_area9"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="layout_style">end</property> <child> - <object class="GtkButton" id="button15"> + <object class="GtkButton" id="button17"> <property name="label">gtk-cancel</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_stock">True</property> </object> <packing> @@ -2375,12 +1731,13 @@ </packing> </child> <child> - <object class="GtkButton" id="button16"> - <property name="label" translatable="yes" comments="Sum-of-the-Years'-Digits Depreciation Dialog: Calculate result button">C_alculate</property> + <object class="GtkButton" id="button18"> + <property name="label" translatable="yes" comments="Payment Period Dialog: Button to calculate result">C_alculate</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> </object> <packing> @@ -2392,30 +1749,15 @@ </object> <packing> <property name="expand">False</property> + <property name="fill">True</property> <property name="pack_type">end</property> <property name="position">0</property> </packing> </child> - </object> - </child> - <action-widgets> - <action-widget response="-6">button15</action-widget> - <action-widget response="-5">button16</action-widget> - </action-widgets> - </object> - <object class="GtkDialog" id="term_dialog"> - <property name="border_width">6</property> - <property name="title" translatable="yes" comments="Title of Payment Period dialog">Payment Period</property> - <property name="resizable">False</property> - <property name="type_hint">dialog</property> - <property name="has_separator">False</property> - <signal name="response" handler="finc_response_cb"/> - <child internal-child="vbox"> - <object class="GtkVBox" id="dialog-vbox9"> - <property name="visible">True</property> <child> <object class="GtkTable" id="table9"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="border_width">6</property> <property name="n_rows">4</property> <property name="n_columns">2</property> @@ -2425,9 +1767,9 @@ <object class="GtkEntry" id="term_pint"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -2441,9 +1783,9 @@ <object class="GtkEntry" id="term_fv"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -2457,9 +1799,9 @@ <object class="GtkEntry" id="term_pmt"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <property name="text">0</property> - <signal name="activate" handler="finc_activate_cb"/> + <signal name="activate" handler="finc_activate_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -2472,6 +1814,7 @@ <child> <object class="GtkLabel" id="label43"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Payment Period Dialog: Label before periodic interest rate input">Periodic Interest _Rate:</property> <property name="use_underline">True</property> @@ -2487,6 +1830,7 @@ <child> <object class="GtkLabel" id="label44"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Payment Period Dialog: Label before future value input">Future _Value:</property> <property name="use_underline">True</property> @@ -2502,6 +1846,7 @@ <child> <object class="GtkLabel" id="label45"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Payment Period Dialog: Label before periodic payment input">_Periodic Payment:</property> <property name="use_underline">True</property> @@ -2517,6 +1862,7 @@ <child> <object class="GtkLabel" id="label46"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" comments="Payment Period Dialog: Description of calculation">Calculates the number of payment periods that are necessary during the term of an ordinary annuity, to accumulate a future value, at a periodic interest rate.</property> <property name="wrap">True</property> @@ -2529,55 +1875,768 @@ </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> - <child internal-child="action_area"> - <object class="GtkHButtonBox" id="dialog-action_area9"> + </object> + </child> + <action-widgets> + <action-widget response="-6">button17</action-widget> + <action-widget response="-5">button18</action-widget> + </action-widgets> + </object> + <object class="GtkWindow" id="window1"> + <property name="can_focus">False</property> + <child> + <object class="GtkTable" id="button_panel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="n_rows">4</property> + <property name="n_columns">10</property> + <property name="homogeneous">True</property> + <child> + <object class="GtkButton" id="calc_memory_button"> <property name="visible">True</property> - <property name="layout_style">end</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="focus_on_click">False</property> + <child internal-child="accessible"> + <object class="AtkObject" id="calc_memory_button-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the memory value button">Memory</property> + </object> + </child> + <signal name="clicked" handler="memory_cb" swapped="no"/> <child> - <object class="GtkButton" id="button17"> - <property name="label">gtk-cancel</property> + <object class="GtkHBox" id="hbox20"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="receives_default">False</property> - <property name="use_stock">True</property> + <property name="can_focus">False</property> + <property name="spacing">3</property> + <child> + <object class="GtkLabel" id="label23"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes" comments="The label on the memory button">x</property> + <attributes> + <attribute name="style" value="italic"/> + </attributes> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkArrow" id="arrow14"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="arrow_type">down</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> </child> + </object> + <packing> + <property name="left_attach">4</property> + <property name="right_attach">6</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> + </child> + <child> + <object class="GtkButton" id="calc_logarithm_button"> + <property name="label">log</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="button_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">6</property> + <property name="right_attach">7</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> + </child> + <child> + <object class="GtkButton" id="calc_4_button"> + <property name="label">4</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="digit_cb" swapped="no"/> + </object> + <packing> + <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> + <child> + <object class="GtkButton" id="calc_7_button"> + <property name="label">7</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="digit_cb" swapped="no"/> + </object> + <packing> + <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_8_button"> + <property name="label">8</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="digit_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_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> + <child> + <object class="GtkButton" id="calc_9_button"> + <property name="label">9</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="digit_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">2</property> + <property name="right_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> + </child> + <child> + <object class="GtkButton" id="calc_5_button"> + <property name="label">5</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="digit_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</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> + <child> + <object class="GtkButton" id="calc_6_button"> + <property name="label">6</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="digit_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">2</property> + <property name="right_attach">3</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> + <child> + <object class="GtkButton" id="calc_divide_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_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="button_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">3</property> + <property name="right_attach">4</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_1_button"> + <property name="label">1</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="digit_cb" swapped="no"/> + </object> + <packing> + <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> + </child> + <child> + <object class="GtkButton" id="calc_2_button"> + <property name="label">2</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="digit_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</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> + </child> + <child> + <object class="GtkButton" id="calc_0_button"> + <property name="label">0</property> + <property name="width_request">50</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="digit_cb" swapped="no"/> + </object> + <packing> + <property name="top_attach">3</property> + <property name="bottom_attach">4</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_numeric_point_button"> + <property name="label" comments="Label is set in gtk.c to comply with LC flags">.</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="numeric_point_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">3</property> + <property name="bottom_attach">4</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_percentage_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_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="button_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">2</property> + <property name="right_attach">3</property> + <property name="top_attach">3</property> + <property name="bottom_attach">4</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_3_button"> + <property name="label">3</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="digit_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">2</property> + <property name="right_attach">3</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> + </child> + <child> + <object class="GtkButton" id="calc_multiply_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_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="button_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">3</property> + <property name="right_attach">4</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> + <child> + <object class="GtkButton" id="calc_subtract_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_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="subtract_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">3</property> + <property name="right_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> + </child> + <child> + <object class="GtkButton" id="calc_add_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_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="button_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">3</property> + <property name="right_attach">4</property> + <property name="top_attach">3</property> + <property name="bottom_attach">4</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_result_button"> + <property name="label" translatable="yes" comments="Label on the solve button (clicking this solves the displayed calculation)">=</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="solve_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">4</property> + <property name="right_attach">6</property> + <property name="top_attach">3</property> + <property name="bottom_attach">4</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_start_group_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_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="button_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">4</property> + <property name="right_attach">5</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> + <child> + <object class="GtkButton" id="calc_end_group_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_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="button_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">5</property> + <property name="right_attach">6</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> + <child> + <object class="GtkButton" id="calc_clear_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="clear_cb" swapped="no"/> <child> - <object class="GtkButton" id="button18"> - <property name="label" translatable="yes" comments="Payment Period Dialog: Button to calculate result">C_alculate</property> + <object class="GtkImage" id="image2"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="receives_default">False</property> - <property name="use_underline">True</property> + <property name="can_focus">False</property> + <property name="icon-name">edit-clear-symbolic</property> </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="pack_type">end</property> - <property name="position">0</property> + <property name="left_attach">5</property> + <property name="right_attach">6</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_finc_compounding_term_button"> + <property name="label" translatable="yes" comments="Calculates the number of compounding periods necessary to increase an investment of present value pv to a future value of fv, at a fixed interest rate of int per compounding period. See also: http://en.wikipedia.org/wiki/Compound_interest">Ctrm</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="finc_cb" swapped="no"/> + </object> + <packing> + <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> + </child> + <child> + <object class="GtkButton" id="calc_finc_double_declining_depreciation_button"> + <property name="label" translatable="yes" comments="Calculates the depreciation allowance on an asset for a specified period of time, using the double-declining balance method. See also: http://en.wikipedia.org/wiki/Depreciation">Ddb</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="finc_cb" swapped="no"/> + </object> + <packing> + <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> + </child> + <child> + <object class="GtkButton" id="calc_finc_future_value_button"> + <property name="label" translatable="yes" comments="Calculates the future value of an investment based on a series of equal payments, each of amount pmt, at a periodic interest rate of int, over the number of payment periods in the term. See also: http://en.wikipedia.org/wiki/Future_value">Fv</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="finc_cb" swapped="no"/> + </object> + <packing> + <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> + </child> + <child> + <object class="GtkButton" id="calc_finc_term_button"> + <property name="label" translatable="yes" comments="Calculates the number of payment periods that are necessary during the term of an ordinary annuity, to accumulate a future value of fv, at a periodic interest rate of int. Each payment is equal to amount pmt. See also: http://en.wikipedia.org/wiki/Annuity_(finance_theory)">Term</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="finc_cb" swapped="no"/> + </object> + <packing> + <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> + <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + </packing> + </child> + <child> + <object class="GtkButton" id="calc_finc_sum_of_the_years_digits_depreciation_button"> + <property name="label" translatable="yes" comments="Calculates the depreciation allowance on an asset for a specified period of time, using the Sum-Of-The-Years'-Digits method. This method of depreciation accelerates the rate of depreciation, so that more depreciation expense occurs in earlier periods than in later ones. The depreciable cost is cost - salvage. The useful life is the number of periods, typically years, over which an asset is depreciated. See also: http://en.wikipedia.org/wiki/Depreciation">Syd</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="finc_cb" swapped="no"/> + </object> + <packing> + <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> + <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + </packing> + </child> + <child> + <object class="GtkButton" id="calc_finc_straight_line_depreciation_button"> + <property name="label" translatable="yes" comments="Calculates the straight-line depreciation of an asset for one period. The depreciable cost is cost - salvage. The straight-line method of depreciation divides the depreciable cost evenly over the useful life of an asset. The useful life is the number of periods, typically years, over which an asset is depreciated. See also: http://en.wikipedia.org/wiki/Depreciation">Sln</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="finc_cb" swapped="no"/> + </object> + <packing> + <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> + <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + </packing> + </child> + <child> + <object class="GtkButton" id="calc_finc_periodic_interest_rate_button"> + <property name="label" translatable="yes" comments="Calculates the periodic interest necessary to increase an investment of present value pv to a future value of fv, over the number of compounding periods in term. See also: http://en.wikipedia.org/wiki/Interest ">Rate</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="finc_cb" swapped="no"/> + </object> + <packing> + <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> + <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + </packing> + </child> + <child> + <object class="GtkButton" id="calc_finc_present_value_button"> + <property name="label" translatable="yes" comments="Calculates the present value of an investment based on a series of equal payments, each of amount pmt, discounted at a periodic interest rate of int, over the number of payment periods in the term. See also: http://en.wikipedia.org/wiki/Present_value">Pv</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="finc_cb" swapped="no"/> + </object> + <packing> + <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> + <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + </packing> + </child> + <child> + <object class="GtkButton" id="calc_finc_periodic_payment_button"> + <property name="label" translatable="yes" comments="Calculates the amount of the periodic payment of a loan, where payments are made at the end of each payment period. See also: http://en.wikipedia.org/wiki/Amortization_schedule">Pmt</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="finc_cb" swapped="no"/> + </object> + <packing> + <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> + <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + </packing> + </child> + <child> + <object class="GtkButton" id="calc_finc_gross_profit_margin_button"> + <property name="label" translatable="yes" comments="Calculates the resale price of a product, based on the product cost and the wanted gross profit margin. See also: http://en.wikipedia.org/wiki/Gross_profit_margin">Gpm</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="finc_cb" swapped="no"/> + </object> + <packing> + <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> + <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + </packing> + </child> + <child> + <object class="GtkButton" id="calc_undo_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <child> + <object class="GtkImage" id="image1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon-name">edit-undo-symbolic</property> + </object> + </child> + </object> + <packing> + <property name="left_attach">4</property> + <property name="right_attach">5</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_x_pow_y_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</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" swapped="no"/> + <child> + <object class="GtkLabel" id="x_pow_y_label"> + <property name="visible">True</property> + <property name="can_focus">False</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_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="button_cb" swapped="no"/> + </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> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> </object> </child> - <action-widgets> - <action-widget response="-6">button17</action-widget> - <action-widget response="-5">button18</action-widget> - </action-widgets> </object> </interface> diff --git a/data/buttons-programming.ui b/data/buttons-programming.ui index 374c5c1..ee56c80 100644 --- a/data/buttons-programming.ui +++ b/data/buttons-programming.ui @@ -1,4 +1,4 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="UTF-8"?> <interface> <requires lib="gtk+" version="2.16"/> <!-- interface-naming-policy toplevel-contextual --> @@ -25,7 +25,7 @@ <object class="GtkLabel" id="base_label"> <property name="visible">True</property> <property name="xalign">1</property> - <property name="label" comments="Example content">FF₁₆ 256₁₀</property> + <property name="label" comments="Example content">FF₁₆ 256₁₀</property> </object> <packing> <property name="position">1</property> @@ -33,6 +33,7 @@ </child> </object> <packing> + <property name="expand">False</property> <property name="position">0</property> </packing> </child> @@ -1842,7 +1843,7 @@ <property name="homogeneous">True</property> <child> <object class="GtkButton" id="calc_root_button"> - <property name="label">√</property> + <property name="label">√</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -1990,7 +1991,7 @@ </child> <child> <object class="GtkButton" id="calc_divide_button"> - <property name="label">÷</property> + <property name="label">÷</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -2010,6 +2011,7 @@ <child> <object class="GtkButton" id="calc_0_button"> <property name="label">0</property> + <property name="width_request">50</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -2026,7 +2028,7 @@ </child> <child> <object class="GtkButton" id="calc_multiply_button"> - <property name="label">×</property> + <property name="label">×</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -2045,7 +2047,7 @@ </child> <child> <object class="GtkButton" id="calc_subtract_button"> - <property name="label">−</property> + <property name="label">−</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -2102,13 +2104,18 @@ </child> <child> <object class="GtkButton" id="calc_clear_button"> - <property name="label" translatable="yes" comments="Label on the clear display button">Clear</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="clear_cb"/> + <child> + <object class="GtkImage" id="image1"> + <property name="visible">True</property> + <property name="icon-name">edit-clear-symbolic</property> + </object> + </child> </object> <packing> <property name="left_attach">6</property> @@ -2413,7 +2420,7 @@ <child> <object class="GtkLabel" id="label4"> <property name="visible">True</property> - <property name="label">↓n</property> + <property name="label">↓n</property> <property name="use_markup">True</property> </object> </child> @@ -2438,7 +2445,7 @@ <child> <object class="GtkLabel" id="label3"> <property name="visible">True</property> - <property name="label">↑n</property> + <property name="label">↑n</property> <property name="use_markup">True</property> </object> </child> @@ -2451,42 +2458,14 @@ </packing> </child> <child> - <object class="GtkButton" id="calc_recall_button"> + <object class="GtkButton" id="calc_numeric_point_button"> + <property name="label" comments="Label is set in gtk.c to comply with LC flags">.</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> - <child internal-child="accessible"> - <object class="AtkObject" id="calc_recall_button-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the recall value button">Recall</property> - </object> - </child> - <signal name="clicked" handler="recall_cb"/> - <child> - <object class="GtkHBox" id="hbox19"> - <property name="visible">True</property> - <property name="spacing">3</property> - <child> - <object class="GtkLabel" id="label22"> - <property name="visible">True</property> - <property name="label" translatable="yes" comments="The label on the memory recall button">← R</property> - </object> - <packing> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkArrow" id="arrow13"> - <property name="visible">True</property> - <property name="arrow_type">down</property> - </object> - <packing> - <property name="expand">False</property> - <property name="position">1</property> - </packing> - </child> - </object> - </child> + <signal name="clicked" handler="numeric_point_cb" swapped="no"/> </object> <packing> <property name="left_attach">2</property> @@ -2496,7 +2475,7 @@ </packing> </child> <child> - <object class="GtkButton" id="calc_store_button"> + <object class="GtkButton" id="calc_memory_button"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -2506,7 +2485,7 @@ <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the store value button">Store</property> </object> </child> - <signal name="clicked" handler="store_cb"/> + <signal name="clicked" handler="memory_cb"/> <child> <object class="GtkHBox" id="hbox20"> <property name="visible">True</property> @@ -2514,7 +2493,7 @@ <child> <object class="GtkLabel" id="label23"> <property name="visible">True</property> - <property name="label" translatable="yes" comments="The label on the memory store button">→ R</property> + <property name="label" translatable="yes" comments="The label on the memory button">x</property> </object> <packing> <property name="position">0</property> @@ -2744,7 +2723,7 @@ </child> <child> <object class="GtkButton" id="calc_character_button"> - <property name="label">á</property> + <property name="label">á</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -2826,7 +2805,7 @@ <child> <object class="GtkLabel" id="label20"> <property name="visible">True</property> - <property name="label"><i>x</i><sup>−1</sup></property> + <property name="label"><i>x</i><sup>−1</sup></property> <property name="use_markup">True</property> <property name="justify">center</property> </object> @@ -2943,7 +2922,6 @@ <property name="title" translatable="yes" comments="Title of insert character code dialog">Insert Character Code</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> - <property name="has_separator">False</property> <signal name="response" handler="character_code_dialog_response_cb"/> <signal name="delete_event" handler="character_code_dialog_delete_cb"/> <child internal-child="vbox"> @@ -2971,7 +2949,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="max_length">1</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> <signal name="activate" handler="character_code_dialog_activate_cb"/> </object> <packing> diff --git a/data/mate-calc-cmd.1 b/data/mate-calc-cmd.1 new file mode 100644 index 0000000..c8cc98e --- /dev/null +++ b/data/mate-calc-cmd.1 @@ -0,0 +1,17 @@ +.\" Copyright (c) 2011 Jean Schurger +.TH MATE-CALC-CMD 1 "17 March 2011" +.SH NAME +mate-calc-cmd \- a console calculator +.SH SYNOPSIS +.B mate-calc-cmd + +.SH DESCRIPTION +.B mate-calc-cmd +is the console version of +.B mate-calc +the calculator of the MATE desktop environment. + +.SH SEE ALSO +.B mate-calc +.sp +.LP diff --git a/data/mate-calc.1 b/data/mate-calc.1 index 88d8f35..2abe5cd 100644 --- a/data/mate-calc.1 +++ b/data/mate-calc.1 @@ -1,5 +1,5 @@ .\" Copyright (c) 1987-2008 - Sun Microsystems, Inc. -.TH MATE_CALC 1 "17 June 2009" +.TH mate-calc 1 "17 June 2009" .SH NAME mate-calc \- a desktop calculator .SH SYNOPSIS @@ -23,11 +23,9 @@ Output version information and exit. .TP .B \-h, \-?, \-\-help Prints the command line options. -.SH FILES +.SH SEE ALSO .PD 0 .TP 18 -.B ~/.mate-calcrc -user's personal mate-calc resources for customizing the appearance and color of -.B mate-calc +.B mate-calc-cmd .sp .LP diff --git a/data/mate-calc.desktop.in b/data/mate-calc.desktop.in index dd2de5c..016914f 100644 --- a/data/mate-calc.desktop.in +++ b/data/mate-calc.desktop.in @@ -3,11 +3,10 @@ _Name=Calculator _Comment=Perform arithmetic, scientific or financial calculations Exec=mate-calc Icon=accessories-calculator -NotShowIn=KDE; Terminal=false Type=Application StartupNotify=true -Categories=MATE;GTK;Utility;Calculator +Categories=MATE;GTK;Utility;Calculator; X-MATE-DocPath=mate-calc/mate-calc.xml X-MATE-Bugzilla-Bugzilla=MATE X-MATE-Bugzilla-Product=mate-calc diff --git a/data/org.mate.calc.gschema.xml.in b/data/org.mate.calc.gschema.xml.in index 4f0f79b..a268aaf 100644 --- a/data/org.mate.calc.gschema.xml.in +++ b/data/org.mate.calc.gschema.xml.in @@ -1,9 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <schemalist> <enum id="org.mate.calc.NumberFormat"> - <value value="0" nick="fixed"/> - <value value="1" nick="scientific"/> - <value value="2" nick="engineering"/> + <value value="0" nick="automatic"/> + <value value="1" nick="fixed"/> + <value value="2" nick="scientific"/> + <value value="3" nick="engineering"/> </enum> <enum id="org.mate.calc.ButtonMode"> <value value="0" nick="basic"/> @@ -47,7 +48,7 @@ <_description>Indicates whether any trailing zeroes after the numeric point should be shown in the display value.</_description> </key> <key name="number-format" enum="org.mate.calc.NumberFormat"> - <default>'fixed'</default> + <default>'automatic'</default> <_summary>Number format</_summary> <_description>The format to display numbers in</_description> </key> @@ -71,5 +72,15 @@ <_summary>Target currency</_summary> <_description>Currency to convert the current calculation into</_description> </key> + <key type="s" name="source-units"> + <default>'degree'</default> + <_summary>Source units</_summary> + <_description>Units of the current calculation</_description> + </key> + <key type="s" name="target-units"> + <default>'radian'</default> + <_summary>Target units</_summary> + <_description>Units to convert the current calculation into</_description> + </key> </schema> </schemalist> diff --git a/data/preferences.ui b/data/preferences.ui index 4d93aed..c804392 100644 --- a/data/preferences.ui +++ b/data/preferences.ui @@ -48,7 +48,6 @@ <property name="border_width">8</property> <property name="title" translatable="yes">Preferences</property> <property name="type_hint">normal</property> - <property name="has_separator">False</property> <signal name="response" handler="preferences_response_cb"/> <signal name="delete_event" handler="preferences_dialog_delete_cb"/> <child internal-child="vbox"> |