aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-05-20 23:53:45 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-05-20 23:53:45 +0800
commit1c147afe15e6cdcb023f99fd26a31b870c3f94ed (patch)
treeb54406d590354fed833485ca3b7c20cb34d39bd1 /mail
parent09e32acfb1313f56acf829fb16298a47508f3024 (diff)
downloadgsoc2013-evolution-1c147afe15e6cdcb023f99fd26a31b870c3f94ed.tar.gz
gsoc2013-evolution-1c147afe15e6cdcb023f99fd26a31b870c3f94ed.tar.zst
gsoc2013-evolution-1c147afe15e6cdcb023f99fd26a31b870c3f94ed.zip
Only re-add the store to the folder-tree if the account is enabled. Oops.
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. svn path=/trunk/; revision=21283
Diffstat (limited to 'mail')
-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))