From 4b4412b666649c32be9fa41cd48df4f7370ed4b0 Mon Sep 17 00:00:00 2001 From: Danny Baumann Date: Tue, 8 Jan 2013 13:12:47 +0100 Subject: [PATCH] Add back 'refresh' and 'settings' to folder context menu. Both items are commonly used even by the average user (and likely both are used more commonly than 'clear local messages'), so it makes sense to provide them in the context menu as well as the action bar. --- res/menu/folder_context.xml | 8 +++++++- src/com/fsck/k9/activity/FolderList.java | 6 ++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/res/menu/folder_context.xml b/res/menu/folder_context.xml index f3194db91..592704197 100644 --- a/res/menu/folder_context.xml +++ b/res/menu/folder_context.xml @@ -1,9 +1,15 @@ + - + diff --git a/src/com/fsck/k9/activity/FolderList.java b/src/com/fsck/k9/activity/FolderList.java index 74667a097..eaef08d37 100644 --- a/src/com/fsck/k9/activity/FolderList.java +++ b/src/com/fsck/k9/activity/FolderList.java @@ -647,6 +647,12 @@ public class FolderList extends K9ListActivity implements OnNavigationListener { case R.id.clear_local_folder: onClearFolder(mAccount, folder.name); break; + case R.id.refresh_folder: + checkMail(folder); + break; + case R.id.folder_settings: + FolderSettings.actionSettings(this, mAccount, folder.name); + break; } return super.onContextItemSelected(item);