1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 18:02:15 -05:00

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); MessageInfoHolder message = (MessageInfoHolder) mAdapter.getChild(group, item);
switch (keyCode) { switch (keyCode) {
case KeyEvent.KEYCODE_DEL: { onDelete(message); return true;} 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_C: { onCompose(); return true;}
case KeyEvent.KEYCODE_Q: { onAccounts(); return true; } case KeyEvent.KEYCODE_Q: { onAccounts(); return true; }
case KeyEvent.KEYCODE_F: { onForward(message); return true;} case KeyEvent.KEYCODE_F: { onForward(message); return true;}