diff options
Diffstat (limited to 'mail/mail-accounts.c')
-rw-r--r-- | mail/mail-accounts.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c index 67f0d8a3a9..5074469e3e 100644 --- a/mail/mail-accounts.c +++ b/mail/mail-accounts.c @@ -325,16 +325,14 @@ account_able_clicked (GtkButton *button, gpointer user_data) account->source->enabled = !account->source->enabled; -#if 0 /* if the account got disabled, remove it from the - folder-tree, otherwise add it to the folder-tree */ - if (account->source && account->source->url) { + folder-tree, otherwise add it to the folder-tree */ + if (account->source->url) { if (account->source->enabled) mail_load_storage_by_uri (prefs->shell, account->source->url, account->name); else mail_remove_storage_by_uri (account->source->url); } -#endif #if USE_ETABLE |