aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/message-browser.c3
2 files changed, 8 insertions, 0 deletions
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 <yuedong.du@sun.com>
+
+ * message-browser.c: (on_key_press): close mail message window
+ using 'ESC' key, fix bug #47087
+
2003-07-28 Jeffrey Stedfast <fejj@ximian.com>
* 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:
}