aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-accounts.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-accounts.c')
-rw-r--r--mail/mail-accounts.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c
index a650d53336..fa3c0a750b 100644
--- a/mail/mail-accounts.c
+++ b/mail/mail-accounts.c
@@ -345,18 +345,18 @@ mail_able (GtkButton *button, gpointer data)
if (dialog->accounts_row >= 0) {
int row;
-
+
row = dialog->accounts_row;
account = gtk_clist_get_row_data (dialog->mail_accounts, row);
account->source->enabled = !account->source->enabled;
-
+
if (account->source && account->source->url) {
if (account->source->enabled)
mail_load_storage_by_uri (dialog->shell, account->source->url, account->name);
else
mail_remove_storage_by_uri (account->source->url);
}
-
+
mail_autoreceive_setup ();
mail_config_write ();
load_accounts (dialog);