aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Loper <mloper@src.gnome.org>2000-06-06 06:35:25 +0800
committerMatthew Loper <mloper@src.gnome.org>2000-06-06 06:35:25 +0800
commit425047aa48374e1fa137c3afb2745617c488a597 (patch)
treeaac286bbcc25a29abfd3d2cda98773b2c611c59f
parent2f8b4bc14f6570c0d99dad52e520f6ca5342b4f8 (diff)
downloadgsoc2013-evolution-425047aa48374e1fa137c3afb2745617c488a597.tar
gsoc2013-evolution-425047aa48374e1fa137c3afb2745617c488a597.tar.gz
gsoc2013-evolution-425047aa48374e1fa137c3afb2745617c488a597.tar.bz2
gsoc2013-evolution-425047aa48374e1fa137c3afb2745617c488a597.tar.lz
gsoc2013-evolution-425047aa48374e1fa137c3afb2745617c488a597.tar.xz
gsoc2013-evolution-425047aa48374e1fa137c3afb2745617c488a597.tar.zst
gsoc2013-evolution-425047aa48374e1fa137c3afb2745617c488a597.zip
Allow "GDK_KP_Delete", a keypad delete key, to delete a message.
* folder-browser.c (etable_key): Allow "GDK_KP_Delete", a keypad delete key, to delete a message. svn path=/trunk/; revision=3435
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/folder-browser.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 6211cd5d7c..a6a7e45447 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-05 Matt Loper <matt@helixcode.com>
+
+ * folder-browser.c (etable_key): Allow "GDK_KP_Delete", a keypad
+ delete key, to delete a message.
+
2000-06-05 Dan Winship <danw@helixcode.com>
* session.c (evolution_auth_callback): Remember passwords between
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 37b5501daa..90f393b731 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -373,7 +373,8 @@ etable_key (ETable *table, int row, int col, GdkEvent *ev, FolderBrowser *fb)
gtk_adjustment_value_changed (vadj);
return TRUE;
- } else if (ev->key.keyval == GDK_Delete) {
+ } else if (ev->key.keyval == GDK_Delete ||
+ ev->key.keyval == GDK_KP_Delete) {
delete_msg (NULL, fb);
return TRUE;
}