[gnome-calculator] remove red color from clear button
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] remove red color from clear button
- Date: Thu, 12 Feb 2015 20:49:21 +0000 (UTC)
commit d7f8c373b4d0a78df52a6f2bb258dfd923d877d6
Author: Allan Day <allanpday gmail com>
Date: Mon Feb 2 15:57:36 2015 +0000
remove red color from clear button
The red attracts too much attention, and the clear button doesn't
need to be that scary.
https://bugzilla.gnome.org/show_bug.cgi?id=743523
src/math-buttons.vala | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/math-buttons.vala b/src/math-buttons.vala
index 088b591..43a1c17 100644
--- a/src/math-buttons.vala
+++ b/src/math-buttons.vala
@@ -624,9 +624,6 @@ public class MathButtons : Gtk.Box
if (name == "result") /* Adds blue color to result button */
button.get_style_context ().add_class ("suggested-action");
- if (name == "clear") /* Adds red color to clear button */
- button.get_style_context ().add_class ("destructive-action");
-
if (data != null)
{
button.set_data<string> ("calc_text", data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]