diff --git a/src/advanced.py b/src/advanced.py
index edf75f864..109fe1432 100644
--- a/src/advanced.py
+++ b/src/advanced.py
@@ -138,7 +138,3 @@ class AdvancedConfigurationWindow:
def on_advanced_entry_changed(self, widget):
text = widget.get_text()
self.modelfilter.refilter()
-
- def on_advanced_configuration_window_key_press_event(self, widget, event):
- if event.keyval == gtk.keysyms.Escape:
- self.window.hide()
diff --git a/src/gtkgui.glade b/src/gtkgui.glade
index 48f14f4af..398ddebe8 100644
--- a/src/gtkgui.glade
+++ b/src/gtkgui.glade
@@ -11884,7 +11884,6 @@ JID: whatever@jabber.org
GDK_WINDOW_TYPE_HINT_NORMAL
GDK_GRAVITY_NORTH_WEST
-