aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-07-18 05:52:06 +0800
committerIain Holmes <iain@src.gnome.org>2001-07-18 05:52:06 +0800
commite6ed3915cf79924cca722c8f69ef32a69b4d4e4b (patch)
tree4cc054a85b818030d17407a71296bda43626d36b
parent833b8636a3dc41e6144f5082f89e21bbe41258e3 (diff)
downloadgsoc2013-evolution-e6ed3915cf79924cca722c8f69ef32a69b4d4e4b.tar
gsoc2013-evolution-e6ed3915cf79924cca722c8f69ef32a69b4d4e4b.tar.gz
gsoc2013-evolution-e6ed3915cf79924cca722c8f69ef32a69b4d4e4b.tar.bz2
gsoc2013-evolution-e6ed3915cf79924cca722c8f69ef32a69b4d4e4b.tar.lz
gsoc2013-evolution-e6ed3915cf79924cca722c8f69ef32a69b4d4e4b.tar.xz
gsoc2013-evolution-e6ed3915cf79924cca722c8f69ef32a69b4d4e4b.tar.zst
gsoc2013-evolution-e6ed3915cf79924cca722c8f69ef32a69b4d4e4b.zip
Reset the autoreceive when necessary.
svn path=/trunk/; revision=11181
-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;
}