summary refs log tree commit diff stats
path: root/src/fe-gtk/notifygui.c
diff options
context:
space:
mode:
authorRichardHitt <rbh00@netcom.com>2013-03-17 15:11:23 -0700
committerRichardHitt <rbh00@netcom.com>2013-03-17 15:11:23 -0700
commitecdcc99280d29994791b8bc3273bf03a670d0b7b (patch)
tree947e2145e5cf149f0ccfc4d86d77dd2f2b278943 /src/fe-gtk/notifygui.c
parente8a78b9aa1398deb69d20d599be2a630f721cafa (diff)
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.
Diffstat (limited to 'src/fe-gtk/notifygui.c')
-rw-r--r--src/fe-gtk/notifygui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-gtk/notifygui.c b/src/fe-gtk/notifygui.c
index 0559734c..4d144258 100644
--- a/src/fe-gtk/notifygui.c
+++ b/src/fe-gtk/notifygui.c
@@ -413,6 +413,7 @@ notify_opengui (void)
 	notify_window =
 		mg_create_generic_tab ("Notify", _(DISPLAY_NAME": Friends List"), FALSE, TRUE,
 		                       notify_closegui, NULL, 400, 250, &vbox, 0);
+	gtkutil_destroy_on_esc (notify_window);
 
 	view = notify_treeview_new (vbox);
 	g_object_set_data (G_OBJECT (notify_window), "view", view);