From 22639a73613c039ef78bc2c3e12bfb6916253591 Mon Sep 17 00:00:00 2001 From: Leon Handreke Date: Sat, 24 Aug 2013 10:34:52 +0100 Subject: [PATCH] Make actions shown in message view menu configurable Fixes #5850. --- res/menu/message_list_option.xml | 24 +++++++ res/values/strings.xml | 3 + res/xml/global_preferences.xml | 9 +++ src/com/fsck/k9/K9.java | 65 +++++++++++++++++++ src/com/fsck/k9/activity/MessageList.java | 36 ++++++---- src/com/fsck/k9/activity/setup/Prefs.java | 27 ++++++++ .../fsck/k9/preferences/GlobalSettings.java | 15 +++++ src/com/fsck/k9/preferences/Settings.java | 2 +- 8 files changed, 168 insertions(+), 13 deletions(-) diff --git a/res/menu/message_list_option.xml b/res/menu/message_list_option.xml index 326771978..ab758f372 100644 --- a/res/menu/message_list_option.xml +++ b/res/menu/message_list_option.xml @@ -56,6 +56,30 @@ android:icon="?attr/iconActionDelete" android:showAsAction="always" android:title="@string/delete_action"/> + + + + + + + + Mark all as read Colorize missing contact pictures + + Visisble message actions + Show selected actions in the message view menu diff --git a/res/xml/global_preferences.xml b/res/xml/global_preferences.xml index 55972b7dd..3ccbb09b1 100644 --- a/res/xml/global_preferences.xml +++ b/res/xml/global_preferences.xml @@ -225,6 +225,15 @@ android:title="@string/global_settings_messageview_fixedwidth_label" android:summary="@string/global_settings_messageview_fixedwidth_summary" /> + + validate(int version, Map> settings,