[iagno/gnome-3-8] Update counts at end of game



commit 23e84c69b67eee55a1d0787d520033394db306ec
Author: John Cheetham <developer johncheetham com>
Date:   Wed Jun 12 08:23:18 2013 +0100

    Update counts at end of game
    
    The game displays incorrect counts for dark and light players at
    the end of the game.
    
    This is a fix for https://bugzilla.gnome.org/show_bug.cgi?id=679149

 src/iagno.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/iagno.vala b/src/iagno.vala
index 43d3977..2788322 100644
--- a/src/iagno.vala
+++ b/src/iagno.vala
@@ -364,6 +364,7 @@ public class Iagno : Gtk.Application
 
     private void game_complete_cb ()
     {
+        update_ui ();
         if (game.n_light_tiles > game.n_dark_tiles)
             show_message (_("Light player wins!"), Gtk.MessageType.INFO);
         if (game.n_dark_tiles > game.n_light_tiles)


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