From ecdcc99280d29994791b8bc3273bf03a670d0b7b Mon Sep 17 00:00:00 2001 From: RichardHitt Date: Sun, 17 Mar 2013 15:11:23 -0700 Subject: ESC key will destroy the windows mentioned at issue 211. This change implements generic routine gtkutil_destroy_on_esc () and adds invocations of it in the requisite window-handling places. --- src/fe-gtk/plugingui.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/fe-gtk/plugingui.c') diff --git a/src/fe-gtk/plugingui.c b/src/fe-gtk/plugingui.c index 293535cc..b2cb95d7 100644 --- a/src/fe-gtk/plugingui.c +++ b/src/fe-gtk/plugingui.c @@ -219,6 +219,7 @@ plugingui_open (void) plugin_window = mg_create_generic_tab ("Addons", _(DISPLAY_NAME": Plugins and Scripts"), FALSE, TRUE, plugingui_close, NULL, 500, 250, &vbox, 0); + gtkutil_destroy_on_esc (plugin_window); view = plugingui_treeview_new (vbox); g_object_set_data (G_OBJECT (plugin_window), "view", view); -- cgit 1.4.1