[gcompris] note_names, minor display again ""Play Bass Clef"
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris] note_names, minor display again ""Play Bass Clef"
- Date: Mon, 17 Sep 2012 22:29:23 +0000 (UTC)
commit 16306c83f415d3422e4d362e024183bdbd11772d
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Tue Sep 18 00:28:22 2012 +0200
note_names, minor display again ""Play Bass Clef"
At level 11 the message "Play Bass Clef Game" was not displayed anymore.
src/note_names-activity/note_names.py | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/src/note_names-activity/note_names.py b/src/note_names-activity/note_names.py
index e94353f..e471a97 100644
--- a/src/note_names-activity/note_names.py
+++ b/src/note_names-activity/note_names.py
@@ -146,14 +146,13 @@ They also form the C Major Scale. Notice that the note positions are different t
if level == 1:
text = _("Play Treble Clef Game")
- elif level == 5:
+ elif level == 11:
text = _("Play Bass Clef Game")
- if level in [1, 5]:
- self.playScaleGameButton = textButton(400, 410, text,
- self.rootitem, 0x00AA33FFL)
- self.playScaleGameButton.connect("button_press_event", self.play_scale_game)
- gcompris.utils.item_focus_init(self.playScaleGameButton, None)
+ self.playScaleGameButton = textButton(400, 410, text,
+ self.rootitem, 0x00AA33FFL)
+ self.playScaleGameButton.connect("button_press_event", self.play_scale_game)
+ gcompris.utils.item_focus_init(self.playScaleGameButton, None)
if level != 1 and level != 11:
if level in [2, 5, 8, 12, 15, 18]:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]