[gcompris] hide the bar while waiting for the bonus.



commit e2d7fb8bce6d81f17a9827a1737c8e2820c89af6
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Sun Oct 25 22:11:43 2009 +0100

    hide the bar while waiting for the bonus.

 src/boards/python/drawnumber.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/boards/python/drawnumber.py b/src/boards/python/drawnumber.py
index fa7c51b..ea11b41 100755
--- a/src/boards/python/drawnumber.py
+++ b/src/boards/python/drawnumber.py
@@ -183,6 +183,7 @@ class Gcompris_drawnumber :
         if idpt == self.MAX : #Action to execute if all points have been selected in good way
           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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]