Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sound.py
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-02-09 14:50:43 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-02-09 14:50:43 (GMT)
commita8a336aa70fc56be8cf08876b1955ca0d081bcf4 (patch)
treedb24cb3bf49ec7d05de6729db207eca1e6353442 /sound.py
parent117d2716635f086c0de52772932cbca224d784be (diff)
Cleanup code; fix Reset button in shared sessionv2
Diffstat (limited to 'sound.py')
-rw-r--r--sound.py3
1 files changed, 1 insertions, 2 deletions
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()