Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Coudoin <bruno.coudoin@free.fr>2009-10-16 19:41:51 (GMT)
committer Bruno Coudoin <bruno.coudoin@free.fr>2009-10-16 19:41:51 (GMT)
commit3d551566528b8aba862633f26f91b18a06b3cee5 (patch)
tree3455650c4cde302545852d7ae1b1e0973acc2efa
parent5f71506ed1124ed0e1457fcd1e6d90c140e1e532 (diff)
Hide the bar as soon as the user won during the bonus timeout.
-rwxr-xr-xsrc/boards/python/clickanddraw.py1
1 files changed, 1 insertions, 0 deletions
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