From 6639ed3a4b8bfa214403ced84cc06734b7b9aa5b Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Fri, 15 Jul 2005 18:16:35 +0000 Subject: [PATCH] Escape no longer closes advanced window [we may be wrediting value and press Escape to cancel editing] --- src/advanced.py | 4 ---- src/gtkgui.glade | 1 - 2 files changed, 5 deletions(-) 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 -