aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-accounts.c
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 /mail/mail-accounts.c
parent833b8636a3dc41e6144f5082f89e21bbe41258e3 (diff)
downloadgsoc2013-evolution-e6ed3915cf79924cca722c8f69ef32a69b4d4e4b.tar.gz
gsoc2013-evolution-e6ed3915cf79924cca722c8f69ef32a69b4d4e4b.tar.zst
gsoc2013-evolution-e6ed3915cf79924cca722c8f69ef32a69b4d4e4b.zip
Reset the autoreceive when necessary.
svn path=/trunk/; revision=11181
Diffstat (limited to 'mail/mail-accounts.c')
-rw-r--r--mail/mail-accounts.c1
1 files changed, 1 insertions, 0 deletions
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);