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 | |
parent | 2fa1dd24d2f04c4bbfd738bbce842d30b9cb82e7 (diff) | |
download | gsoc2013-evolution-20a365a42ee57b19d2c17cf58e778dee162cdeab.tar gsoc2013-evolution-20a365a42ee57b19d2c17cf58e778dee162cdeab.tar.gz gsoc2013-evolution-20a365a42ee57b19d2c17cf58e778dee162cdeab.tar.bz2 gsoc2013-evolution-20a365a42ee57b19d2c17cf58e778dee162cdeab.tar.lz gsoc2013-evolution-20a365a42ee57b19d2c17cf58e778dee162cdeab.tar.xz 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')
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/em-folder-tree-model.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 6ea038aaeb..0b37eadb68 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +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 + 2005-08-11 Parthasarathi Susarla <sparthasarathi@novell.com> * em-folder-view.c 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); |