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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c
index 19e27ff142..7805e47715 100644
--- a/mail/mail-accounts.c
+++ b/mail/mail-accounts.c
@@ -316,12 +316,15 @@ 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) {
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