[gcompris] play_rhythm: stop the metronome on end
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris] play_rhythm: stop the metronome on end
- Date: Tue, 30 Oct 2012 16:58:08 +0000 (UTC)
commit 2f95c360d26de49a3cf6f00861fc7e3caa3914c1
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Mon Oct 29 17:39:49 2012 +0100
play_rhythm: stop the metronome on end
On activity end if the metronome was running it was not
stopped on game end. Very annoying.
src/play_rhythm-activity/play_rhythm.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/play_rhythm-activity/play_rhythm.py b/src/play_rhythm-activity/play_rhythm.py
index 438d1a7..35f4e78 100644
--- a/src/play_rhythm-activity/play_rhythm.py
+++ b/src/play_rhythm-activity/play_rhythm.py
@@ -450,6 +450,7 @@ dialogue to\nenable the sound."), None)
def end(self):
self.running = False
+ self.stopMetronome()
self.staff.eraseAllNotes()
# Remove the root item removes all the others inside it
self.rootitem.remove()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]