[evolution/kill-bonobo] Bug 581424 - Personal folder tree appears besides Public folder in subscription editor.



commit 50399c518645bae617a2472e3455526ee57c5735
Author: Johnny Jacob <jjohnny novell com>
Date:   Wed May 13 12:30:35 2009 +0530

    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.
---
 mail/em-subscribe-editor.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/mail/em-subscribe-editor.c b/mail/em-subscribe-editor.c
index a47c6b9..c17872f 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);
 	}
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]