From 06a07915ec2809c87bf9213385446267ca4d7599 Mon Sep 17 00:00:00 2001 From: Yuedong Du Date: Fri, 1 Aug 2003 02:20:45 +0000 Subject: close mail message window using 'ESC' key, fix bug #47087 2003-08-01 Yuedong Du * message-browser.c: (on_key_press): close mail message window using 'ESC' key, fix bug #47087 svn path=/trunk/; revision=22043 --- mail/ChangeLog | 5 +++++ mail/message-browser.c | 3 +++ 2 files changed, 8 insertions(+) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index e2ffa2d445..cf97d6628a 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2003-08-01 Yuedong Du + + * message-browser.c: (on_key_press): close mail message window + using 'ESC' key, fix bug #47087 + 2003-07-28 Jeffrey Stedfast * mail-crypto.c: Removed smime functions as they were stale. diff --git a/mail/message-browser.c b/mail/message-browser.c index 9c7c8dee51..9949f0ff0c 100644 --- a/mail/message-browser.c +++ b/mail/message-browser.c @@ -341,6 +341,9 @@ on_key_press (GtkWidget *widget, GdkEventKey *key, gpointer data) case GDK_KP_Delete: message_browser_delete (NULL, mb, NULL); return TRUE; + case GDK_Escape: + message_browser_close (NULL, mb, NULL); + return TRUE; default: } -- cgit v1.2.3