diff --git a/src/config.py b/src/config.py
index 5ac4b9f6b..31176c965 100644
--- a/src/config.py
+++ b/src/config.py
@@ -956,6 +956,13 @@ class PreferencesWindow:
model.set_value(iter, 2, path_to_file)
model.set_value(iter, 1, 1)
+ def on_play_button_clicked(self, widget):
+ model, iter = self.sound_tree.get_selection().get_selected()
+ if not iter:
+ return
+ event = model[iter][0]
+ helpers.play_sound(event)
+
def on_open_advanced_editor_button_clicked(self, widget, data = None):
if gajim.interface.instances.has_key('advanced_config'):
gajim.interface.instances['advanced_config'].window.present()
diff --git a/src/gtkgui.glade b/src/gtkgui.glade
index cd020aae6..39515cfa6 100644
--- a/src/gtkgui.glade
+++ b/src/gtkgui.glade
@@ -20,6 +20,7 @@
GDK_WINDOW_TYPE_HINT_NORMAL
GDK_GRAVITY_NORTH_WEST
True
+ False
@@ -34,6 +35,8 @@