gnome-games r8221 - trunk/gnome-sudoku/src/lib
- From: thomashpa svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8221 - trunk/gnome-sudoku/src/lib
- Date: Fri, 31 Oct 2008 00:41:03 +0000 (UTC)
Author: thomashpa
Date: Fri Oct 31 00:41:03 2008
New Revision: 8221
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8221&view=rev
Log:
Make sure the dancer can not be activated while already running by using the auto fill. Fixes bug #532357. Patch by Zhang Sen
Modified:
trunk/gnome-sudoku/src/lib/main.py
Modified: trunk/gnome-sudoku/src/lib/main.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/main.py (original)
+++ trunk/gnome-sudoku/src/lib/main.py Fri Oct 31 00:41:03 2008
@@ -463,6 +463,8 @@
@simple_debug
def you_win_callback (self,grid):
+ if hasattr(self, 'dancer'):
+ return
self.won = True
# increase difficulty for next time.
self.gconf['difficulty']=self.gconf['difficulty']+0.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]