diff options
author | Vivek Jain <jvivek@novell.com> | 2005-08-11 14:11:04 +0800 |
---|---|---|
committer | Jain Vivek <jvivek@src.gnome.org> | 2005-08-11 14:11:04 +0800 |
commit | 20a365a42ee57b19d2c17cf58e778dee162cdeab (patch) | |
tree | 10d85db348d982c10780c28da1f8efd833ea19b4 /mail/em-folder-tree-model.c | |
parent | 2fa1dd24d2f04c4bbfd738bbce842d30b9cb82e7 (diff) | |
download | gsoc2013-evolution-20a365a42ee57b19d2c17cf58e778dee162cdeab.tar.gz gsoc2013-evolution-20a365a42ee57b19d2c17cf58e778dee162cdeab.tar.zst gsoc2013-evolution-20a365a42ee57b19d2c17cf58e778dee162cdeab.zip |
check if the account is enabled, before adding the store ** Fixes #313057
2005-08-11 Vivek Jain <jvivek@novell.com>
* em-folder-tree-model.c: (account_changed)
check if the account is enabled, before adding the store
** Fixes #313057
svn path=/trunk/; revision=30087
Diffstat (limited to 'mail/em-folder-tree-model.c')
-rw-r--r-- | mail/em-folder-tree-model.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c index a5c5330800..478481b144 100644 --- a/mail/em-folder-tree-model.c +++ b/mail/em-folder-tree-model.c @@ -381,7 +381,8 @@ account_changed (EAccountList *accounts, EAccount *account, gpointer user_data) 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); |