From 1af713b345b75cd7c9dd112879a79d6c3f8dd881 Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Thu, 09 Apr 2009 16:05:06 +0000 Subject: Add filter to ObjectChooser invoking --- (limited to 'sound.py') 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 -- cgit v0.9.1