diff options
author | Milan Crha <mcrha@redhat.com> | 2011-06-02 05:30:23 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:22 +0800 |
commit | 8600672a9112a22c5fcd9243c5de709bfa9d5c4d (patch) | |
tree | 3a28213b8e91cd01c9b02576edcda555f7701c4e /mail/em-folder-tree-model.c | |
parent | de29fdc57258c162f37d0862469362f859e32c47 (diff) | |
download | gsoc2013-evolution-8600672a9112a22c5fcd9243c5de709bfa9d5c4d.tar gsoc2013-evolution-8600672a9112a22c5fcd9243c5de709bfa9d5c4d.tar.gz gsoc2013-evolution-8600672a9112a22c5fcd9243c5de709bfa9d5c4d.tar.bz2 gsoc2013-evolution-8600672a9112a22c5fcd9243c5de709bfa9d5c4d.tar.lz gsoc2013-evolution-8600672a9112a22c5fcd9243c5de709bfa9d5c4d.tar.xz gsoc2013-evolution-8600672a9112a22c5fcd9243c5de709bfa9d5c4d.tar.zst gsoc2013-evolution-8600672a9112a22c5fcd9243c5de709bfa9d5c4d.zip |
Do not add 'Local delivery' accounts into folder tree
And make folder_tree_get_folder_info_cb() always finish properly,
because evolution doesn't want to quit otherwise.
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 79955504d6..16acd183a1 100644 --- a/mail/em-folder-tree-model.c +++ b/mail/em-folder-tree-model.c @@ -221,7 +221,8 @@ account_changed_cb (EAccountList *accounts, /* make sure the new store belongs in the tree */ provider = camel_service_get_provider (service); - if (!(provider->flags & CAMEL_PROVIDER_IS_STORAGE)) + if (!(provider->flags & CAMEL_PROVIDER_IS_STORAGE) || + em_utils_is_local_delivery_mbox_file (camel_service_get_camel_url (service))) return; em_folder_tree_model_add_store ( |