gnome-games r8074 - trunk/glchess/src/lib



Author: rancell
Date: Sat Oct 18 06:55:01 2008
New Revision: 8074
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8074&view=rev

Log:
Don't display failed to claim draw dialog when successfully claimed draw

Modified:
   trunk/glchess/src/lib/game.py

Modified: trunk/glchess/src/lib/game.py
==============================================================================
--- trunk/glchess/src/lib/game.py	(original)
+++ trunk/glchess/src/lib/game.py	Sat Oct 18 06:55:01 2008
@@ -178,7 +178,7 @@
         
     def claimDraw(self):
         """Claim a draw"""
-        self.__game.claimDraw()
+        return self.__game.claimDraw()
 
     def outOfTime(self):
         """Report this players timer has expired"""



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