aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-account-gui.c2
2 files changed, 7 insertions, 1 deletions
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 <fejj@ximian.com>
+
+ * 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 <lewing@ximian.com>
* 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))