From 3d551566528b8aba862633f26f91b18a06b3cee5 Mon Sep 17 00:00:00 2001 From: Bruno Coudoin Date: Fri, 16 Oct 2009 19:41:51 +0000 Subject: Hide the bar as soon as the user won during the bonus timeout. --- diff --git a/src/boards/python/clickanddraw.py b/src/boards/python/clickanddraw.py index 7504560..0f24a61 100755 --- a/src/boards/python/clickanddraw.py +++ b/src/boards/python/clickanddraw.py @@ -105,6 +105,7 @@ class Gcompris_clickanddraw(Gcompris_drawnumber) : gcompris.set_background(self.ROOT, self.data[self.gcomprisBoard.sublevel][0][2]) self.gamewon = 1 + gcompris.bar_hide(True) self.timeout = gobject.timeout_add(1500, self.lauch_bonus) # The level is complete -> Bonus display else : #Action to execute if the selected point isn't the last one of this level -- cgit v0.9.1