Skip to content
Snippets Groups Projects
Commit ede8e3b3 authored by nkour's avatar nkour
Browse files

fix empty soundplayer entry ui problem

parent 5800df0d
No related branches found
No related tags found
No related merge requests found
......@@ -295,6 +295,7 @@ class PreferencesWindow:
# sound player
player = gajim.config.get('soundplayer')
self.xml.get_widget('soundplayer_entry').set_text(command)
if player == '': # only on first time Gajim starts
commands = ('esdplay', 'artsplay', 'aplay', 'play')
for command in commands:
......@@ -303,6 +304,7 @@ class PreferencesWindow:
gajim.config.set('soundplayer', command)
break
#sounds treeview
self.sound_tree = self.xml.get_widget('sounds_treeview')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment