first aplay then play then daemons play

This commit is contained in:
Nikos Kouremenos 2005-09-06 15:50:05 +00:00
parent 5c306c9ba5
commit 66a654ba97
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ class PreferencesWindow:
player = gajim.config.get('soundplayer') player = gajim.config.get('soundplayer')
self.xml.get_widget('soundplayer_entry').set_text(player) self.xml.get_widget('soundplayer_entry').set_text(player)
if player == '': # only on first time Gajim starts if player == '': # only on first time Gajim starts
commands = ('esdplay', 'artsplay', 'aplay', 'play') commands = ('aplay', 'play'. 'esdplay', 'artsplay')
for command in commands: for command in commands:
if helpers.is_in_path(command): if helpers.is_in_path(command):
self.xml.get_widget('soundplayer_entry').set_text(command) self.xml.get_widget('soundplayer_entry').set_text(command)