changeset 2dabace4a4f9 in /home/hg/repos/gajim
author: Yann Leboulanger asterix@lagaule.org branches: gajim_0.16 details:http://hg.gajim.org/gajim?cmd=changeset;node=2dabace4a4f9 description: sime cleanup in sound client list. Fixes #7497
diffstat:
src/gui_interface.py | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 324c16fc8f10 -r 2dabace4a4f9 src/gui_interface.py --- a/src/gui_interface.py Wed Oct 30 16:38:01 2013 +0100 +++ b/src/gui_interface.py Wed Oct 30 17:50:47 2013 +0100 @@ -3005,11 +3005,13 @@
if gajim.config.get('soundplayer') == '': # only on first time Gajim starts - commands = ('aplay', 'play', 'esdplay', 'artsplay', 'ossplay') + commands = ('aplay', 'play', 'ossplay') for command in commands: if helpers.is_in_path(command): - if command == 'aplay': + if command in ('aplay', 'play'): command += ' -q' + elif command == 'ossplay': + command += ' -qq' gajim.config.set('soundplayer', command) break