diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-07-17 05:07:41 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-07-17 05:07:41 +0800 |
commit | a6b622021f53a99ddbfbe675ec1eab7500e99d55 (patch) | |
tree | 8755aeea2824d34706d2bdf8dca8f1b28a557711 /mail/mail-accounts.c | |
parent | 5cb61aa42f97181881ca7d4586395f099c131228 (diff) | |
download | gsoc2013-evolution-a6b622021f53a99ddbfbe675ec1eab7500e99d55.tar gsoc2013-evolution-a6b622021f53a99ddbfbe675ec1eab7500e99d55.tar.gz gsoc2013-evolution-a6b622021f53a99ddbfbe675ec1eab7500e99d55.tar.bz2 gsoc2013-evolution-a6b622021f53a99ddbfbe675ec1eab7500e99d55.tar.lz gsoc2013-evolution-a6b622021f53a99ddbfbe675ec1eab7500e99d55.tar.xz gsoc2013-evolution-a6b622021f53a99ddbfbe675ec1eab7500e99d55.tar.zst gsoc2013-evolution-a6b622021f53a99ddbfbe675ec1eab7500e99d55.zip |
Re-enable some #if 0'd code.
2002-07-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-accounts.c (account_able_clicked): Re-enable some #if 0'd code.
* mail-vfolder.c (vfolder_load_storage): Updated to not pass TRUE
for an auto_connect argument since that argument no longer exists.
* mail-account-gui.c (add_new_store): Updated to not pass an
auto_connect argument.
* component-factory.c (add_storage): Don't ever auto-connect here.
(mail_add_storage): No longer takes an auto_connect argument.
(mail_load_storages): Only load the account storages that are
enabled.
svn path=/trunk/; revision=17483
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 |