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/ignoregui.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/fe-gtk/ignoregui.c') diff --git a/src/fe-gtk/ignoregui.c b/src/fe-gtk/ignoregui.c index dca4384b..6e8b4ff3 100644 --- a/src/fe-gtk/ignoregui.c +++ b/src/fe-gtk/ignoregui.c @@ -349,6 +349,7 @@ ignore_gui_open () mg_create_generic_tab ("IgnoreList", _(DISPLAY_NAME": Ignore list"), FALSE, TRUE, close_ignore_gui_callback, NULL, 600, 256, &vbox, 0); + gtkutil_destroy_on_esc (ignorewin); view = ignore_treeview_new (vbox); g_object_set_data (G_OBJECT (ignorewin), "view", view); -- cgit 1.4.1