[gnome-mahjongg/gnome-3-12] Revert "Revert "Ensure game is unpaused after Restart Game""



commit 49374fac999dda6b959807e040c1f74fa0f906ee
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Mar 22 19:45:54 2014 -0500

    Revert "Revert "Ensure game is unpaused after Restart Game""
    
    This reverts commit e357d918c587e0856d30648b95a70f75e685085c.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724961

 src/gnome-mahjongg.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-mahjongg.vala b/src/gnome-mahjongg.vala
index e1cd1ce..695d437 100644
--- a/src/gnome-mahjongg.vala
+++ b/src/gnome-mahjongg.vala
@@ -608,6 +608,8 @@ public class Mahjongg : Gtk.Application
     private void restart_game ()
     {
         game_view.game.reset ();
+        if (game_view.game.paused)
+            pause_cb ();
         update_ui ();
     }
 


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