[gcompris] explore, added a bonus after level 1
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris] explore, added a bonus after level 1
- Date: Mon, 17 Sep 2012 20:10:26 +0000 (UTC)
commit 39b2a9e1f49ef69c2cb68306c1581e251cc05f9d
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Mon Sep 17 21:55:46 2012 +0200
explore, added a bonus after level 1
This is better to provide feedback on level change.
src/explore-activity/explore.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/explore-activity/explore.py b/src/explore-activity/explore.py
index 3f221de..c44c1a9 100644
--- a/src/explore-activity/explore.py
+++ b/src/explore-activity/explore.py
@@ -236,8 +236,8 @@ class Gcompris_explore:
# All the items have been seen, let's start the level 2
if self.locationSeen == len(self.sectionNames):
- self.set_level(2)
-
+ self.next_action = self.next_level
+ gcompris.bonus.display(gcompris.bonus.WIN, gcompris.bonus.SMILEY)
def goto_location(self, widget=None, target=None, event=None):
'''
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]