Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sound.py
diff options
context:
space:
mode:
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()