diff options
author | Manuel Kaufmann <humitos@gmail.com> | 2012-08-24 13:05:07 (GMT) |
---|---|---|
committer | Manuel QuiƱones <manuq@laptop.org> | 2012-08-24 14:56:28 (GMT) |
commit | 7d3e66e108138eecd09ffbe05adc43a06da86dcd (patch) | |
tree | dbff398042e85af7a892d42fbbd2ee35bc0d8ed5 | |
parent | d39d980f4b67268c1acab725f3331c28418971fe (diff) |
Create a new game immediatly
A new game is created immediatly when Easy, Medium or Hard button is
pressed. This is important for touch screen.
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Reviewed-by: Gonzalo Odiard <gonzalo@laptop.org>
-rw-r--r-- | implodeactivity.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/implodeactivity.py b/implodeactivity.py index c03d7fe..3e8a3f7 100644 --- a/implodeactivity.py +++ b/implodeactivity.py @@ -182,6 +182,7 @@ class ImplodeActivity(Activity): def callback(source): if source.get_active(): self._game.set_level(numeric_level) + self._game.new_game() button.connect('clicked', callback) button.set_tooltip(tooltip) |