[gnome-calculator] Remove more stock icons
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] Remove more stock icons
- Date: Tue, 4 Feb 2014 19:31:58 +0000 (UTC)
commit f33be14afc9a8bfebeea9bbabeca03197c35c467
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Tue Feb 4 13:30:34 2014 -0600
Remove more stock icons
Replace them with symbolic icons.
The edit icon is questionable, but so was the icon that's being
replaced.
src/math-function-popup.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/math-function-popup.vala b/src/math-function-popup.vala
index 4283bac..b7c4149 100644
--- a/src/math-function-popup.vala
+++ b/src/math-function-popup.vala
@@ -78,7 +78,7 @@ public class MathFunctionPopup : Gtk.Window
add_function_button = new Gtk.Button ();
add_function_button.sensitive = false;
add_function_button.clicked.connect (add_function_cb);
- var image = new Gtk.Image.from_stock (Gtk.Stock.ADD, Gtk.IconSize.BUTTON);
+ var image = new Gtk.Image.from_icon_name ("list-add-symbolic", Gtk.IconSize.BUTTON);
add_function_button.add (image);
entry.pack_end (add_function_button, false, true, 0);
image.show ();
@@ -188,7 +188,7 @@ public class MathFunctionPopup : Gtk.Window
{
button = new Gtk.Button ();
button.set_data<string> ("function_name", name);
- var image = new Gtk.Image.from_stock (Gtk.Stock.EDIT, Gtk.IconSize.BUTTON);
+ var image = new Gtk.Image.from_icon_name ("accessories-text-editor-symbolic",
Gtk.IconSize.BUTTON);
button.add (image);
hbox.pack_start (button, false, true, 0);
button.clicked.connect (save_function_cb);
@@ -197,7 +197,7 @@ public class MathFunctionPopup : Gtk.Window
button = new Gtk.Button ();
button.set_data<string> ("function_name", name);
- image = new Gtk.Image.from_stock (Gtk.Stock.DELETE, Gtk.IconSize.BUTTON);
+ image = new Gtk.Image.from_icon_name ("edit-delete-symbolic", Gtk.IconSize.BUTTON);
button.add (image);
hbox.pack_start (button, false, true, 0);
button.clicked.connect (delete_function_cb);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]