[swell-foop] Add tooltip to new game button



commit 3551b8a6cde68eb8d8e1afd7f6638ad4ac44caed
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Feb 16 10:04:37 2014 -0600

    Add tooltip to new game button

 src/swell-foop.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/swell-foop.vala b/src/swell-foop.vala
index eaae034..ed6b299 100644
--- a/src/swell-foop.vala
+++ b/src/swell-foop.vala
@@ -101,6 +101,7 @@ public class SwellFoop : Gtk.Application
             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.action_name = "app.new-game";
+            new_game_button.tooltip_text = _("Start a new game");
             new_game_button.show ();
             headerbar.pack_start (new_game_button);
         }


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