aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-accounts.c1
-rw-r--r--mail/mail-config.c1
3 files changed, 8 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 4e78f35e66..d37e398fe1 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2001-07-17 Iain Holmes <iain@ximian.com>
+
+ * mail-accounts.c (mail_able): Reset the auto receive.
+
+ * mail-config.h (mail_config_remove_account): Reset the autoreceive.
+
2001-07-17 Jason Leach <jleach@ximian.com>
* mail-account-gui.c (source_type_changed): Fix for last change:
diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c
index 0a61be44f7..c84094ab9b 100644
--- a/mail/mail-accounts.c
+++ b/mail/mail-accounts.c
@@ -349,6 +349,7 @@ mail_able (GtkButton *button, gpointer data)
row = dialog->accounts_row;
account = gtk_clist_get_row_data (dialog->mail_accounts, row);
account->source->enabled = !account->source->enabled;
+ mail_autoreceive_setup ();
mail_config_write ();
load_accounts (dialog);
gtk_clist_select_row (dialog->mail_accounts, row, 0);
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 204ed35bd3..0dcb25596f 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -1362,6 +1362,7 @@ mail_config_remove_account (MailConfigAccount *account)
config->accounts = g_slist_remove (config->accounts, account);
account_destroy (account);
+ mail_autoreceive_setup ();
return config->accounts;
}