[kupfer] preferences: Remove unused callback



commit 35da7054199f8427048fdf8d9633151c7d34d234
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Wed Sep 9 02:01:45 2009 +0200

    preferences: Remove unused callback

 kupfer/preferences.py |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/kupfer/preferences.py b/kupfer/preferences.py
index 5a4e944..90ccb3f 100644
--- a/kupfer/preferences.py
+++ b/kupfer/preferences.py
@@ -371,11 +371,6 @@ class PreferencesWindowController (pretty.OutputMixin):
 			setctl.set_plugin_config(plugin_id, key, value, value_type)
 		return callback
 
-	def _on_plugin_settings_key_press_event(self, widget, event):
-		if event.keyval == gtk.gdk.keyval_from_name("Escape"):
-			widget.destroy()
-			return True
-
 	def _make_plugin_settings_widget(self, plugin_id):
 		plugin_settings = plugins.get_plugin_attribute(plugin_id,
 				plugins.settings_attribute)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]