diff pyntnclick/widgets/game.py @ 602:1aac5a3b17e1 pyntnclick

Remove anything that has to do with focus (hopefully not breaking anything)
author Stefano Rivera <stefano@rivera.za.net>
date Sat, 11 Feb 2012 20:05:22 +0200
parents b7d8b89de71a
children
line wrap: on
line diff
--- a/pyntnclick/widgets/game.py	Sat Feb 11 20:00:59 2012 +0200
+++ b/pyntnclick/widgets/game.py	Sat Feb 11 20:05:22 2012 +0200
@@ -11,7 +11,6 @@
         self.world = world
         rect = Rect(offset, world.get_size())
         super(GameWidget, self).__init__(rect)
-        self.focussable = True
         self.add_callback(FlipArrowsEvent, self.flip_arrows)
 
     def flip_arrows(self, ev, widget):
@@ -23,4 +22,3 @@
 
     def restart(self):
         self.world.restart()
-        self.grab_focus()