[gcalctool] Put Arg into scientific buttons
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcalctool] Put Arg into scientific buttons
- Date: Mon, 7 Jun 2010 01:20:55 +0000 (UTC)
commit aa663f5e0cb588d5d6d938ef89db950732978fc2
Author: Robert Ancell <robert ancell gmail com>
Date: Mon Jun 7 10:59:51 2010 +1000
Put Arg into scientific buttons
data/buttons-advanced.ui | 8 ++++----
src/math-buttons.c | 3 +++
2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/data/buttons-advanced.ui b/data/buttons-advanced.ui
index 35d08ed..b0d7777 100644
--- a/data/buttons-advanced.ui
+++ b/data/buttons-advanced.ui
@@ -762,8 +762,8 @@
</packing>
</child>
<child>
- <object class="GtkButton" id="calc_real_portion_button">
- <property name="label">ℜ</property>
+ <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>
@@ -800,8 +800,8 @@
</packing>
</child>
<child>
- <object class="GtkButton" id="calc_conjugate_button">
- <property name="label">conj</property>
+ <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>
diff --git a/src/math-buttons.c b/src/math-buttons.c
index f67523b..60bec85 100644
--- a/src/math-buttons.c
+++ b/src/math-buttons.c
@@ -142,6 +142,9 @@ static ButtonData button_data[] = {
{"abs", "|", FUNCTION,
/* Tooltip for the absolute value button */
N_("Absolute value [|]")},
+ {"arg", "Arg ", FUNCTION,
+ /* Tooltip for the complex argument component button */
+ N_("Complex argument")},
{"conjugate", "conj ", FUNCTION,
/* Tooltip for the complex conjugate button */
N_("Complex conjugate")},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]