[evolution-patches] Patch to fix #313057 (Mail)
- From: "Jain Vivek" <jvivek novell com>
- To: <evolution-patches lists ximian com>
- Subject: [evolution-patches] Patch to fix #313057 (Mail)
- Date: Wed, 10 Aug 2005 04:43:04 -0600
hi,
Attached patch fixes
http://bugzilla.gnome.org/show_bug.cgi?id=313057
Just checking whether the account is enabled before adding a store for
it.
Thanks,
Vivek Jain
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.3686
diff -u -p -r1.3686 ChangeLog
--- ChangeLog 10 Aug 2005 02:04:31 -0000 1.3686
+++ ChangeLog 10 Aug 2005 10:40:06 -0000
@@ -1,3 +1,9 @@
+2005-08-10 Vivek Jain <jvivek novell com>
+
+ * em-folder-tree-model.c: (account_changed)
+ check if the account is enabled, before adding the store
+ ** Fixes #313057
+
2005-08-09 Not Zed <NotZed Ximian com>
** See #312715.
Index: em-folder-tree-model.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/em-folder-tree-model.c,v
retrieving revision 1.69
diff -u -p -r1.69 em-folder-tree-model.c
--- em-folder-tree-model.c 7 Aug 2005 21:18:18 -0000 1.69
+++ em-folder-tree-model.c 10 Aug 2005 10:40:06 -0000
@@ -381,7 +381,8 @@ account_changed (EAccountList *accounts,
em_folder_tree_model_remove_store (model, si->store);
- if (!(uri = account->source->url))
+ /* check if store needs to be added at all*/
+ if (!account->enabled ||!(uri = account->source->url))
return;
camel_exception_init (&ex);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]