aboutsummaryrefslogtreecommitdiffstats
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
parentc8aef824052806516fbdaadd37a2a885d9cf02fb (diff)
downloadgsoc2013-evolution-06a07915ec2809c87bf9213385446267ca4d7599.tar
gsoc2013-evolution-06a07915ec2809c87bf9213385446267ca4d7599.tar.gz
gsoc2013-evolution-06a07915ec2809c87bf9213385446267ca4d7599.tar.bz2
gsoc2013-evolution-06a07915ec2809c87bf9213385446267ca4d7599.tar.lz
gsoc2013-evolution-06a07915ec2809c87bf9213385446267ca4d7599.tar.xz
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
-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:
}