set value of player not only gui (but that should have been enough)

This commit is contained in:
Nikos Kouremenos 2005-08-21 19:09:31 +00:00
parent 208fd473d5
commit 25acbbe478

View file

@ -300,8 +300,10 @@ class PreferencesWindow:
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)
gajim.config.set('soundplayer', command)
break break
#sounds treeview #sounds treeview
self.sound_tree = self.xml.get_widget('sounds_treeview') self.sound_tree = self.xml.get_widget('sounds_treeview')
model = gtk.ListStore(str, bool, str) model = gtk.ListStore(str, bool, str)