From 9de986ce04cfa96d72fcd4c1b5eecfaf6c2c6701 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Wed, 29 Oct 2008 07:09:16 +0000 Subject: [PATCH] Added the ability for users to change their accounts' return addresses rspier++ for the idea --- AndroidManifest.xml | 4 +- res/values/strings.xml | 1 + res/xml/account_settings_preferences.xml | 6 +++ src/com/fsck/k9/R.java | 43 ++++++++++--------- .../k9/activity/setup/AccountSettings.java | 19 ++++++++ 5 files changed, 50 insertions(+), 23 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index aebec08ee..4e3ef34d7 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="7" + android:versionName="0.7"> > diff --git a/res/values/strings.xml b/res/values/strings.xml index cb6eee015..c5ebe3cae 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -204,6 +204,7 @@ Default account Send email from this account by default Email notifications + Email address Notify in status bar when email arrives Show combined Inbox Email check frequency diff --git a/res/xml/account_settings_preferences.xml b/res/xml/account_settings_preferences.xml index f33f299b2..4d8c87bcd 100644 --- a/res/xml/account_settings_preferences.xml +++ b/res/xml/account_settings_preferences.xml @@ -31,6 +31,12 @@ android:summary="" android:dialogTitle="@string/account_settings_name_label" /> + + 0 )) { mAccountAlwaysBcc.setSummary(mAccount.getAlwaysBcc()); @@ -169,6 +187,7 @@ public class AccountSettings extends PreferenceActivity { } mAccount.setDescription(mAccountDescription.getText()); mAccount.setName(mAccountName.getText()); + mAccount.setEmail(mAccountEmail.getText()); mAccount.setAlwaysBcc(mAccountAlwaysBcc.getText()); mAccount.setNotifyNewMail(mAccountNotify.isChecked()); mAccount.setAutomaticCheckIntervalMinutes(Integer.parseInt(mCheckFrequency.getValue()));