From 1c147afe15e6cdcb023f99fd26a31b870c3f94ed Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 20 May 2003 15:53:45 +0000 Subject: Only re-add the store to the folder-tree if the account is enabled. Oops. 2003-05-19 Jeffrey Stedfast * mail-account-gui.c (mail_account_gui_save): Only re-add the store to the folder-tree if the account is enabled. Oops. Fixes bug #43214. svn path=/trunk/; revision=21283 --- mail/ChangeLog | 6 ++++++ mail/mail-account-gui.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index a9e6d938e0..ec22310e8b 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2003-05-19 Jeffrey Stedfast + + * mail-account-gui.c (mail_account_gui_save): Only re-add the + store to the folder-tree if the account is enabled. Oops. Fixes + bug #43214. + 2003-05-20 Larry Ewing * mail-config-factory.c: remove references to font prefs. diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c index 02da27caa1..880d7aaa4f 100644 --- a/mail/mail-account-gui.c +++ b/mail/mail-account-gui.c @@ -1994,7 +1994,7 @@ mail_account_gui_save (MailAccountGui *gui) in the folder-tree and not added by some other component, then get the CamelStore and add it to the shell storages */ - if (is_storage) + if (is_storage && account->enabled) mail_get_store (account->source->url, add_new_store, account); if (gtk_toggle_button_get_active (gui->default_account)) -- cgit v1.2.3