From a8a336aa70fc56be8cf08876b1955ca0d081bcf4 Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Mon, 09 Feb 2009 14:50:43 +0000 Subject: Cleanup code; fix Reset button in shared session --- (limited to 'sound.py') diff --git a/sound.py b/sound.py index 7819b93..9a3e311 100644 --- a/sound.py +++ b/sound.py @@ -76,6 +76,7 @@ class MuteSound(Sound): return '' def select(self): + Sound.current = self Sound.player.set_state(gst.STATE_NULL) return self @@ -112,8 +113,6 @@ THEMES = [ None, CustomSound(_('Custom')) ] -Sound.current = THEMES[0] - def play(): Sound.playing = True Sound.current.select() -- cgit v0.9.1