aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-browser.c
diff options
context:
space:
mode:
authorYuedong Du <yuedong.du@sun.com>2003-08-01 10:20:45 +0800
committerYuedong Du <york@src.gnome.org>2003-08-01 10:20:45 +0800
commit06a07915ec2809c87bf9213385446267ca4d7599 (patch)
tree618b3b3baca52b67cd7aacdf776237f73369f7d9 /mail/message-browser.c
parentc8aef824052806516fbdaadd37a2a885d9cf02fb (diff)
downloadgsoc2013-evolution-06a07915ec2809c87bf9213385446267ca4d7599.tar.gz
gsoc2013-evolution-06a07915ec2809c87bf9213385446267ca4d7599.tar.zst
gsoc2013-evolution-06a07915ec2809c87bf9213385446267ca4d7599.zip
close mail message window using 'ESC' key, fix bug #47087
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 svn path=/trunk/; revision=22043
Diffstat (limited to 'mail/message-browser.c')
-rw-r--r--mail/message-browser.c3
1 files changed, 3 insertions, 0 deletions
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:
}