1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-25 09:08:49 -05:00

Fix display of folder settings and account settings menu entries

This commit is contained in:
cketti 2012-11-15 21:45:36 +01:00
parent 999dd33169
commit 411abbea64

View File

@ -396,6 +396,10 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme
onEditPrefs();
return true;
}
case R.id.account_settings: {
onEditAccount();
return true;
}
case R.id.search: {
mMessageListFragment.onSearchRequested();
return true;
@ -423,10 +427,6 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme
}
return true;
}
case R.id.account_settings: {
onEditAccount();
return true;
}
case R.id.expunge: {
mMessageListFragment.onExpunge();
return true;
@ -478,7 +478,7 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme
menu.findItem(R.id.folder_settings).setVisible(false);
menu.findItem(R.id.account_settings).setVisible(false);
} else {
menu.findItem(R.id.folder_settings).setVisible(true);
menu.findItem(R.id.folder_settings).setVisible(mSingleFolderMode);
menu.findItem(R.id.account_settings).setVisible(true);
if (mMessageListFragment.isOutbox()) {