Add a D keybinding to the FolderMessageList

This commit is contained in:
Jesse Vincent 2008-12-03 04:20:51 +00:00
parent aba87657e7
commit 505ddcab52

View file

@ -461,6 +461,7 @@ public class FolderMessageList extends ExpandableListActivity {
MessageInfoHolder message = (MessageInfoHolder) mAdapter.getChild(group, item);
switch (keyCode) {
case KeyEvent.KEYCODE_DEL: { onDelete(message); return true;}
case KeyEvent.KEYCODE_D: { onDelete(message); return true;}
case KeyEvent.KEYCODE_C: { onCompose(); return true;}
case KeyEvent.KEYCODE_Q: { onAccounts(); return true; }
case KeyEvent.KEYCODE_F: { onForward(message); return true;}