[gnome-chess] Pause button should be insensitive in untimed games



commit 882e93dcd9ca18b7a5183f9c6faa075ba7d1f12a
Author: Michael Catanzaro <mike catanzaro gmail com>
Date:   Wed Jul 31 20:09:19 2013 -0500

    Pause button should be insensitive in untimed games
    
    https://bugzilla.gnome.org/show_bug.cgi?id=701578

 src/gnome-chess.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index c615036..8cfaede 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -496,6 +496,7 @@ public class Application : Gtk.Application
         scene.game = game;
         info_bar.hide ();
         save_button.sensitive = false;
+        pause_button.sensitive = (game.clock != null);
         update_history_panel ();
         update_control_buttons ();
 


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