[swell-foop] Use a refresh icon for the new game button



commit 7f8b413b96431b49b70bdb4e7f911d7f3d8b7dfb
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Feb 3 20:58:47 2014 -0600

    Use a refresh icon for the new game button
    
    https://bugzilla.gnome.org/show_bug.cgi?id=722671

 src/swell-foop.vala |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/swell-foop.vala b/src/swell-foop.vala
index 0d04c39..a6527e9 100644
--- a/src/swell-foop.vala
+++ b/src/swell-foop.vala
@@ -96,11 +96,8 @@ public class SwellFoop : Gtk.Application
 
         if (Gtk.Settings.get_default ().gtk_shell_shows_app_menu)
         {
-            var new_game_button = new Gtk.Button ();
+            var new_game_button = new Gtk.Button.from_icon_name ("view-refresh-symbolic", 
Gtk.IconSize.SMALL_TOOLBAR);
             new_game_button.valign = Gtk.Align.CENTER;
-            new_game_button.label = _("_New");
-            new_game_button.get_style_context ().add_class ("text-button");
-            new_game_button.use_underline = true;
             new_game_button.action_name = "app.new-game";
             new_game_button.show ();
             headerbar.add (new_game_button);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]