[evolution-patches] fix for bug #43214



http://bugzilla.ximian.com/show_bug.cgi?id=43214

"oops"

Jeff

-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com  - www.ximian.com
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.2730
diff -u -r1.2730 ChangeLog
--- ChangeLog	19 May 2003 15:12:10 -0000	1.2730
+++ ChangeLog	19 May 2003 19:09:59 -0000
@@ -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  Not Zed  <notzed lostzed mmc com au>
 
 	** See bug #43234
Index: mail-account-gui.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/mail-account-gui.c,v
retrieving revision 1.130
diff -u -r1.130 mail-account-gui.c
--- mail-account-gui.c	15 May 2003 23:37:02 -0000	1.130
+++ mail-account-gui.c	19 May 2003 19:09:59 -0000
@@ -1994,7 +1994,7 @@
 	   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))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]