Added a "d" keybinding for delete. from the message view

This commit is contained in:
Jesse Vincent 2008-11-02 23:13:58 +00:00
parent c8498d46f3
commit 27a0efcf1d

View file

@ -105,6 +105,7 @@ public class MessageView extends Activity
public boolean onKeyDown(int keyCode, KeyEvent event) {
switch (keyCode) {
case KeyEvent.KEYCODE_DEL: { onDelete(); return true;}
case KeyEvent.KEYCODE_D: { onDelete(); return true;}
case KeyEvent.KEYCODE_F: { onForward(); return true;}
case KeyEvent.KEYCODE_A: { onReplyAll(); return true; }
case KeyEvent.KEYCODE_R: { onReply(); return true; }