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-04-09 16:05:06 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-04-09 16:05:06 (GMT)
commit1af713b345b75cd7c9dd112879a79d6c3f8dd881 (patch)
treec0208abc7b21d459bbe362565e27301661d7ed88 /sound.py
parenta5c9f6aac0c9432944e276fb2034dbf90ced8b87 (diff)
Add filter to ObjectChooser invoking
Diffstat (limited to 'sound.py')
-rw-r--r--sound.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound.py b/sound.py
index 9a3e311..8e90c44 100644
--- a/sound.py
+++ b/sound.py
@@ -85,7 +85,7 @@ class CustomSound(Sound):
Sound.__init__(self, name, None, None, theme.SOUND_CUSTOM)
def select(self):
- sound = theme.choose(lambda jobject: JournalSound(jobject))
+ sound = theme.choose_audio(lambda jobject: JournalSound(jobject))
if sound:
sound.select()
return sound