aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Jacob <jjohnny@novell.com>2009-05-13 15:00:35 +0800
committerJohnny Jacob <jjohnny@novell.com>2009-05-13 15:00:35 +0800
commitfee1642fc78d80a382c5c96cb294f4bd3d00be77 (patch)
treead6abaa8724b72b0b4abb366f2cb8018ddd9b0c1
parentf8c480420f3129fce7ff06551d74a41f97fde216 (diff)
downloadgsoc2013-evolution-fee1642fc78d80a382c5c96cb294f4bd3d00be77.tar
gsoc2013-evolution-fee1642fc78d80a382c5c96cb294f4bd3d00be77.tar.gz
gsoc2013-evolution-fee1642fc78d80a382c5c96cb294f4bd3d00be77.tar.bz2
gsoc2013-evolution-fee1642fc78d80a382c5c96cb294f4bd3d00be77.tar.lz
gsoc2013-evolution-fee1642fc78d80a382c5c96cb294f4bd3d00be77.tar.xz
gsoc2013-evolution-fee1642fc78d80a382c5c96cb294f4bd3d00be77.tar.zst
gsoc2013-evolution-fee1642fc78d80a382c5c96cb294f4bd3d00be77.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.
-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 724b9b4874..9842e32d0e 100644
--- a/mail/em-subscribe-editor.c
+++ b/mail/em-subscribe-editor.c
@@ -356,7 +356,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);
}
}