1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 03:32:16 -05:00

. Added the following 2 keyboard shortcuts in message list view:

. S: Setttings
  . L: Last auto sync date time
This commit is contained in:
Bao-Long Nguyen-Trong 2008-12-14 08:25:08 +00:00
parent ec29561d8b
commit 401e5ecf37

View File

@ -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