gnome-games r8073 - branches/gnome-2-24/glchess/src/lib



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

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

Modified:
   branches/gnome-2-24/glchess/src/lib/game.py

Modified: branches/gnome-2-24/glchess/src/lib/game.py
==============================================================================
--- branches/gnome-2-24/glchess/src/lib/game.py	(original)
+++ branches/gnome-2-24/glchess/src/lib/game.py	Sat Oct 18 06:54:34 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]