gnome-games r8227 - trunk/gnotravex



Author: rancell
Date: Sun Nov  2 11:01:11 2008
New Revision: 8227
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8227&view=rev

Log:
Stop game immediately completing when started from high score dialog (bug #558904, regression from 2.24.0)

Modified:
   trunk/gnotravex/gnotravex.c

Modified: trunk/gnotravex/gnotravex.c
==============================================================================
--- trunk/gnotravex/gnotravex.c	(original)
+++ trunk/gnotravex/gnotravex.c	Sun Nov  2 11:01:11 2008
@@ -1614,7 +1614,7 @@
   gtk_action_set_visible(resume_action, FALSE);
   gtk_action_set_sensitive(resume_action, FALSE);
 
-  game_state = playing;
+  game_state = gameover;
 
   new_board (size);
   gtk_widget_freeze_child_notify (space);
@@ -1627,6 +1627,8 @@
   str = g_strdup_printf (_("Playing %d\303\227%d board"), size, size);
   message (str);
   g_free (str);
+    
+  game_state = playing;
 }
 
 void



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