diff options
author | TingPing <tngpng@gmail.com> | 2013-03-17 16:16:46 -0700 |
---|---|---|
committer | TingPing <tngpng@gmail.com> | 2013-03-17 16:16:46 -0700 |
commit | 20e352217731a13a7674d5a962e6d7e8bef49423 (patch) | |
tree | 5edcfdc924f26e6b8fa4823ae56a12ce63d9c5da /src/fe-gtk/ascii.c | |
parent | 89d62ee4f8e563fe083b7d6132768cc5c8c63910 (diff) | |
parent | c9540df92d70025b0ec9a66e2a21cbae7c97bd26 (diff) |
Merge pull request #455 from RichardHitt/escape
Let the ESC key close certain windows. Closes #211
Diffstat (limited to 'src/fe-gtk/ascii.c')
-rw-r--r-- | src/fe-gtk/ascii.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/ascii.c b/src/fe-gtk/ascii.c index 06621cd7..ab6ac0ee 100644 --- a/src/fe-gtk/ascii.c +++ b/src/fe-gtk/ascii.c @@ -90,7 +90,6 @@ static const unsigned char table[]= 0xd1,0x89,0xd1,0x8a,0xd1,0x8b,0xd1,0x8c,0xd1,0x8d,0xd1,0x8e,0xd1,0x8f,0 }; - static gboolean ascii_enter (GtkWidget * wid, GdkEventCrossing *event, GtkWidget *label) { @@ -133,6 +132,7 @@ ascii_open (void) win = mg_create_generic_tab ("charmap", _("Character Chart"), TRUE, TRUE, NULL, NULL, 0, 0, &vbox, NULL); gtk_container_set_border_width (GTK_CONTAINER (win), 5); + gtkutil_destroy_on_esc (win); label = gtk_label_new (NULL); |