[gnome-calculator/gnome-3-12] Obliteration of TRUNC button from the calculator
- From: Arth Patel <arthpatel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator/gnome-3-12] Obliteration of TRUNC button from the calculator
- Date: Tue, 8 Apr 2014 18:37:59 +0000 (UTC)
commit 6afb95715b6d898a606bf86743f3c0403056f054
Author: Abhinav <abhinavsv3 gmail com>
Date: Tue Apr 8 08:32:10 2014 +0530
Obliteration of TRUNC button from the calculator
data/buttons-programming.ui | 8 ++++----
src/math-buttons.vala | 3 ++-
2 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/data/buttons-programming.ui b/data/buttons-programming.ui
index 1a79a76..030b562 100644
--- a/data/buttons-programming.ui
+++ b/data/buttons-programming.ui
@@ -2775,10 +2775,10 @@
<child>
<object class="GtkButton" id="calc_trunc_button">
<property name="label">trunc</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="visible">False</property>
+ <property name="can_focus">False</property>
+ <property name="receives_default">False</property>
+ <property name="use_underline">False</property>
<property name="focus_on_click">False</property>
</object>
<packing>
diff --git a/src/math-buttons.vala b/src/math-buttons.vala
index dab7030..1f70819 100644
--- a/src/math-buttons.vala
+++ b/src/math-buttons.vala
@@ -366,7 +366,8 @@ public class MathButtons : Gtk.Box
/* Tooltip for the two's complement button */
setup_button (builder, "twos_complement", "twos ", _("Two's Complement"));
/* Tooltip for the truncate button */
- setup_button (builder, "trunc", "trunc ", _("Truncate"));
+ /* FIXME : Can be Added Once the support is available at the back-end */
+ // setup_button (builder, "trunc", "trunc ", _("Truncate"));
/* Tooltip for the start group button */
setup_button (builder, "start_group", "(", _("Start Group [(]"));
/* Tooltip for the end group button */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]