aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-subscribe-editor.c
diff options
context:
space:
mode:
authorJohnny Jacob <jjohnny@novell.com>2009-05-13 15:00:35 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-21 09:58:46 +0800
commit50399c518645bae617a2472e3455526ee57c5735 (patch)
tree9b1d07c1afeecc1efa2d1acff2b6bc14212a8dbb /mail/em-subscribe-editor.c
parent099293ed216aac18a42dd3c41906978f44b056b1 (diff)
downloadgsoc2013-evolution-50399c518645bae617a2472e3455526ee57c5735.tar.gz
gsoc2013-evolution-50399c518645bae617a2472e3455526ee57c5735.tar.zst
gsoc2013-evolution-50399c518645bae617a2472e3455526ee57c5735.zip
Bug 581424 - Personal folder tree appears besides Public folder in subscription editor.
mail/em-subscribe-editor.c (sub_folderinfo_exec): Use CAMEL_STORE_FOLDER_INFO_SUBSCRIPTION_LIST for requesting list of subscribable folders.
Diffstat (limited to 'mail/em-subscribe-editor.c')
-rw-r--r--mail/em-subscribe-editor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/em-subscribe-editor.c b/mail/em-subscribe-editor.c
index a47c6b931d..c17872f351 100644
--- a/mail/em-subscribe-editor.c
+++ b/mail/em-subscribe-editor.c
@@ -357,7 +357,8 @@ sub_folderinfo_exec (struct _emse_folderinfo_msg *m)
if (m->seq == m->sub->seq) {
camel_operation_register(m->base.cancel);
- m->info = camel_store_get_folder_info(m->sub->store, m->node?m->node->info->full_name:pub_full_name, CAMEL_STORE_FOLDER_INFO_NO_VIRTUAL, &m->base.ex);
+ m->info = camel_store_get_folder_info(m->sub->store, m->node?m->node->info->full_name:pub_full_name,
+ CAMEL_STORE_FOLDER_INFO_NO_VIRTUAL | CAMEL_STORE_FOLDER_INFO_SUBSCRIPTION_LIST, &m->base.ex);
camel_operation_unregister(m->base.cancel);
}
}