gnome-games r8228 - branches/gnome-2-24/gnotravex



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

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

Modified:
   branches/gnome-2-24/gnotravex/gnotravex.c

Modified: branches/gnome-2-24/gnotravex/gnotravex.c
==============================================================================
--- branches/gnome-2-24/gnotravex/gnotravex.c	(original)
+++ branches/gnome-2-24/gnotravex/gnotravex.c	Sun Nov  2 11:03:06 2008
@@ -1617,7 +1617,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);
@@ -1630,6 +1630,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]