[gcompris/gcomprixogoo] hide the bar while waiting for the bonus.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gcompris/gcomprixogoo] hide the bar while waiting for the bonus.
- Date: Mon, 26 Oct 2009 23:38:04 +0000 (UTC)
commit 482f385a5290d41eeb87dfd9af84bcfb941d08c4
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Sun Oct 25 22:11:43 2009 +0100
hide the bar while waiting for the bonus.
did it on clickanddraw and drawnumber
src/drawnumber-activity/clickanddraw.py | 1 +
src/drawnumber-activity/drawnumber.py | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/drawnumber-activity/clickanddraw.py b/src/drawnumber-activity/clickanddraw.py
index 2bc0173..2d9f84b 100644
--- a/src/drawnumber-activity/clickanddraw.py
+++ b/src/drawnumber-activity/clickanddraw.py
@@ -112,6 +112,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
diff --git a/src/drawnumber-activity/drawnumber.py b/src/drawnumber-activity/drawnumber.py
index 7bbe223..5506a4e 100644
--- a/src/drawnumber-activity/drawnumber.py
+++ b/src/drawnumber-activity/drawnumber.py
@@ -203,6 +203,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]