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



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

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

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

Modified: trunk/glchess/src/lib/display.py
==============================================================================
--- trunk/glchess/src/lib/display.py	(original)
+++ trunk/glchess/src/lib/display.py	Mon Oct  6 13:24:41 2008
@@ -282,6 +282,10 @@
         self.scene.showBoardNumbering(showNumbering)
         self.cairoScene.showBoardNumbering(showNumbering)
 
+    def showMoveHints(self, showHints):
+        """Called by ui.ViewFeedback"""
+        pass
+
     def renderGL(self):
         """Called by ui.ViewFeedback"""
         self.scene.render()
@@ -298,6 +302,12 @@
         """Called by ui.ViewFeedback"""
         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]