From 401e5ecf373ba9808aebbf6b7b2a9beac10f1206 Mon Sep 17 00:00:00 2001 From: Bao-Long Nguyen-Trong Date: Sun, 14 Dec 2008 08:25:08 +0000 Subject: [PATCH] . Added the following 2 keyboard shortcuts in message list view: . S: Setttings . L: Last auto sync date time --- src/com/fsck/k9/activity/FolderMessageList.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/com/fsck/k9/activity/FolderMessageList.java b/src/com/fsck/k9/activity/FolderMessageList.java index 3de8d2141..60a7d47bc 100644 --- a/src/com/fsck/k9/activity/FolderMessageList.java +++ b/src/com/fsck/k9/activity/FolderMessageList.java @@ -457,6 +457,12 @@ public class FolderMessageList extends ExpandableListActivity { switch (keyCode) { case KeyEvent.KEYCODE_C: { onCompose(); return true;} case KeyEvent.KEYCODE_Q: { onAccounts(); return true; } + case KeyEvent.KEYCODE_S: { onEditAccount(); return true; } + case KeyEvent.KEYCODE_L: { + long lastAutoCheckTime = mAccount.getLastAutomaticCheckTime(); + Toast.makeText(this, (new Date(lastAutoCheckTime)).toString(), Toast.LENGTH_LONG).show(); + return true; + } }//switch //Shortcuts that only work when a message is selected