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



Author: rancell
Date: Mon Oct  6 13:25:03 2008
New Revision: 7957
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7957&view=rev

Log:
Fix crash in empty scene when no AI engines available (Bug #551844)

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

Modified: branches/gnome-2-24/glchess/src/lib/display.py
==============================================================================
--- branches/gnome-2-24/glchess/src/lib/display.py	(original)
+++ branches/gnome-2-24/glchess/src/lib/display.py	Mon Oct  6 13:25:03 2008
@@ -281,6 +281,10 @@
         """Called by ui.ViewFeedback"""
         self.scene.showBoardNumbering(showNumbering)
         self.cairoScene.showBoardNumbering(showNumbering)
+        
+    def showMoveHints(self, showHints):
+        """Called by ui.ViewFeedback"""
+        pass
 
     def renderGL(self):
         """Called by ui.ViewFeedback"""
@@ -299,6 +303,12 @@
         self.scene.reshape(width, height)
         self.cairoScene.reshape(width, height)
 
+    def select(self, x, y):
+        pass
+    
+    def deselect(self, x, y):
+        pass    
+
     def selectSquare(self, coord):
         pass
 



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