[gnome-mines] Switch to new game button after winning the game



commit 37f68ca73b66b5808f36892d90ea3f8fa73f6849
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Feb 8 20:20:40 2014 -0600

    Switch to new game button after winning the game
    
    Otherwise there's no obvious way to start a new game after clicking
    Close on the scores dialog

 src/gnome-mines.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-mines.vala b/src/gnome-mines.vala
index dec3069..0d139a3 100644
--- a/src/gnome-mines.vala
+++ b/src/gnome-mines.vala
@@ -632,6 +632,8 @@ public class Mines : Gtk.Application
             show_new_game_screen ();
         else
         {
+            play_pause_button.action_name = "app.new-game";
+            play_pause_image.icon_name = "view-refresh-symbolic";
             hint_action.set_enabled (false);
             pause_action.set_enabled (false);
         }


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