Reset the autoreceive when necessary.

svn path=/trunk/; revision=11181
This commit is contained in:
Iain Holmes
2001-07-17 21:52:06 +00:00
parent 833b8636a3
commit e6ed3915cf
3 changed files with 8 additions and 0 deletions
+6
View File
@@ -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:
+1
View File
@@ -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);
+1
View File
@@ -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;
}