1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-24 08:38:51 -05:00

Changed case of CheckboxListPreference class to match the Android framework naming pattern

This commit is contained in:
Fiouz 2010-10-03 09:26:30 +00:00
parent 6ad298ba50
commit 9347409e14
3 changed files with 10 additions and 10 deletions

View File

@ -55,7 +55,7 @@
android:title="@string/gestures_title"
android:summary="@string/gestures_summary" />
<com.fsck.k9.preferences.CheckboxListPreference
<com.fsck.k9.preferences.CheckBoxListPreference
android:key="volumeNavigation"
android:title="@string/volume_navigation_title"
android:summary="@string/volume_navigation_summary"
@ -74,7 +74,7 @@
android:title="@string/start_integrated_inbox_title"
android:summary="@string/start_integrated_inbox_summary" />
<com.fsck.k9.preferences.CheckboxListPreference
<com.fsck.k9.preferences.CheckBoxListPreference
android:key="confirm_actions"
android:title="@string/global_settings_confirm_actions_title"
android:summary="@string/global_settings_confirm_actions_summary"

View File

@ -22,7 +22,7 @@ import com.fsck.k9.activity.Accounts;
import com.fsck.k9.activity.ColorPickerDialog;
import com.fsck.k9.activity.DateFormatter;
import com.fsck.k9.activity.K9PreferenceActivity;
import com.fsck.k9.preferences.CheckboxListPreference;
import com.fsck.k9.preferences.CheckBoxListPreference;
import com.fsck.k9.service.MailService;
public class Prefs extends K9PreferenceActivity
@ -69,7 +69,7 @@ public class Prefs extends K9PreferenceActivity
private CheckBoxPreference mDebugLogging;
private CheckBoxPreference mSensitiveLogging;
private CheckBoxPreference mGestures;
private CheckboxListPreference mVolumeNavigation;
private CheckBoxListPreference mVolumeNavigation;
private CheckBoxPreference mManageBack;
private CheckBoxPreference mStartIntegratedInbox;
private CheckBoxPreference mAnimations;
@ -85,7 +85,7 @@ public class Prefs extends K9PreferenceActivity
private CheckBoxPreference mCountSearch;
private CheckBoxPreference mUseGalleryBugWorkaround;
private CheckboxListPreference mConfirmActions;
private CheckBoxListPreference mConfirmActions;
private CheckBoxPreference mPrivacyMode;
@ -213,7 +213,7 @@ public class Prefs extends K9PreferenceActivity
mAnimations.setChecked(K9.showAnimations());
mGestures = (CheckBoxPreference)findPreference(PREFERENCE_GESTURES);
mGestures.setChecked(K9.gesturesEnabled());
mVolumeNavigation = (CheckboxListPreference)findPreference(PREFERENCE_VOLUME_NAVIGATION);
mVolumeNavigation = (CheckBoxListPreference)findPreference(PREFERENCE_VOLUME_NAVIGATION);
mVolumeNavigation.setItems(new CharSequence[] {getString(R.string.volume_navigation_message), getString(R.string.volume_navigation_list)});
mVolumeNavigation.setCheckedItems(new boolean[] {K9.useVolumeKeysForNavigationEnabled(), K9.useVolumeKeysForListNavigationEnabled()});
@ -270,7 +270,7 @@ public class Prefs extends K9PreferenceActivity
mUseGalleryBugWorkaround = (CheckBoxPreference)findPreference(PREFERENCE_GALLERY_BUG_WORKAROUND);
mUseGalleryBugWorkaround.setChecked(K9.useGalleryBugWorkaround());
mConfirmActions = (CheckboxListPreference) findPreference(PREFERENCE_CONFIRM_ACTIONS);
mConfirmActions = (CheckBoxListPreference) findPreference(PREFERENCE_CONFIRM_ACTIONS);
mConfirmActions.setItems(new CharSequence[] {getString(R.string.global_settings_confirm_action_delete)});
mConfirmActions.setCheckedItems(new boolean[] {K9.confirmDelete()});

View File

@ -6,7 +6,7 @@ import android.content.DialogInterface;
import android.preference.DialogPreference;
import android.util.AttributeSet;
public class CheckboxListPreference extends DialogPreference
public class CheckBoxListPreference extends DialogPreference
{
private CharSequence[] mItems;
@ -23,7 +23,7 @@ public class CheckboxListPreference extends DialogPreference
* @param attrs
* @param defStyle
*/
public CheckboxListPreference(Context context, AttributeSet attrs, int defStyle)
public CheckBoxListPreference(Context context, AttributeSet attrs, int defStyle)
{
super(context, attrs, defStyle);
}
@ -32,7 +32,7 @@ public class CheckboxListPreference extends DialogPreference
* @param context
* @param attrs
*/
public CheckboxListPreference(Context context, AttributeSet attrs)
public CheckBoxListPreference(Context context, AttributeSet attrs)
{
super(context, attrs);
}