diff options
author | Jeffrey Stedfast <fejj@novell.com> | 2005-02-03 04:19:17 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2005-02-03 04:19:17 +0800 |
commit | 609497be726b8b5dadde714f2a22afc082878578 (patch) | |
tree | 7c9a4fa0fc5736d3b3bd546841b8c862b0dbaaf2 /mail | |
parent | e707c7cd73933c3248c7ebf44ccc7bef0a331a8c (diff) | |
download | gsoc2013-evolution-609497be726b8b5dadde714f2a22afc082878578.tar.gz gsoc2013-evolution-609497be726b8b5dadde714f2a22afc082878578.tar.zst gsoc2013-evolution-609497be726b8b5dadde714f2a22afc082878578.zip |
Fixes bug #70454
2005-02-02 Jeffrey Stedfast <fejj@novell.com>
Fixes bug #70454
* em-subscribe-editor.c (sub_folderinfo_get): Request subscription
info (new flag).
(sub_fill_level): Fixed the FIXME here (imap4 now implements
CAMEL_FOLDER_SUBSCRIBED flag properly).
svn path=/trunk/; revision=28680
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 9 | ||||
-rw-r--r-- | mail/em-subscribe-editor.c | 6 |
2 files changed, 11 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 90f61e1e07..b7c4a4a4cf 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,12 @@ +2005-02-02 Jeffrey Stedfast <fejj@novell.com> + + Fixes bug #70454 + + * em-subscribe-editor.c (sub_folderinfo_get): Request subscription + info (new flag). + (sub_fill_level): Fixed the FIXME here (imap4 now implements + CAMEL_FOLDER_SUBSCRIBED flag properly). + 2005-02-01 Rodney Dawes <dobey@novell.com> * em-folder-browser.c: Replace "_Virtual Folder" with "_vFolder" for diff --git a/mail/em-subscribe-editor.c b/mail/em-subscribe-editor.c index e3958076af..82d03ae975 100644 --- a/mail/em-subscribe-editor.c +++ b/mail/em-subscribe-editor.c @@ -300,9 +300,7 @@ sub_fill_level(EMSubscribe *sub, CamelFolderInfo *info, GtkTreeIter *parent, in gtk_tree_store_append(treestore, &iter, parent); node = g_malloc0(sizeof(*node)); node->info = fi; - /* FIXME: CAMEL_FOLDER_SUBSCRIBED not implemented properly in imap */ - state = camel_store_folder_subscribed(sub->store, fi->full_name); - /* state = (fi->flags & CAMEL_FOLDER_SUBSCRIBED) != 0; */ + state = (fi->flags & CAMEL_FOLDER_SUBSCRIBED) != 0; gtk_tree_store_set(treestore, &iter, 0, state, 1, fi->name, 2, node, -1); if ((fi->flags & CAMEL_FOLDER_NOINFERIORS) == 0) { node->path = gtk_tree_model_get_path((GtkTreeModel *)treestore, &iter); @@ -342,7 +340,7 @@ sub_folderinfo_get (struct _mail_msg *mm) if (m->seq == m->sub->seq) { camel_operation_register(mm->cancel); - m->info = camel_store_get_folder_info(m->sub->store, m->node?m->node->info->full_name:"", CAMEL_STORE_FOLDER_INFO_FAST | CAMEL_STORE_FOLDER_INFO_NO_VIRTUAL, &mm->ex); + m->info = camel_store_get_folder_info(m->sub->store, m->node?m->node->info->full_name:"", CAMEL_STORE_FOLDER_INFO_FAST | CAMEL_STORE_FOLDER_INFO_NO_VIRTUAL | CAMEL_STORE_FOLDER_INFO_SUBSCRIPTION_INFO, &mm->ex); camel_operation_unregister(mm->cancel); } } |