[gnome-mines] Enjoy the view after winning (#22)



commit 236e744bbe11144b9935b1df4c305f0728553621
Author: Robert Roth <robert roth off gmail com>
Date:   Fri Oct 5 01:32:33 2018 +0300

    Enjoy the view after winning (#22)

 src/gnome-mines.vala | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/gnome-mines.vala b/src/gnome-mines.vala
index 67a0d75..6c53b62 100644
--- a/src/gnome-mines.vala
+++ b/src/gnome-mines.vala
@@ -783,6 +783,7 @@ public class Mines : Gtk.Application
     {
         replay_button.label = _("Play _Again");
         pause_action.set_enabled (false);
+        replay_button.sensitive = true;
         play_pause_button.hide ();
         high_scores_button.show ();
     }
@@ -806,7 +807,7 @@ public class Mines : Gtk.Application
                 warning ("%s", e.message);
             }
             new_game_action.set_enabled (true);
-            show_new_game_screen ();
+            game_ended ();
         });
     }
 


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