[gcompris] Hide the bar as soon as the user won during the bonus timeout.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gcompris] Hide the bar as soon as the user won during the bonus timeout.
- Date: Fri, 16 Oct 2009 20:36:39 +0000 (UTC)
commit 3d551566528b8aba862633f26f91b18a06b3cee5
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Fri Oct 16 21:41:51 2009 +0200
Hide the bar as soon as the user won during the bonus timeout.
src/boards/python/clickanddraw.py | 1 +
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]