aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-05-04 04:54:07 +0800
committerDan Winship <danw@src.gnome.org>2001-05-04 04:54:07 +0800
commit08e6ede22adccfa0eb798135113b3e74dae0fa8d (patch)
treebca33e8ab5b9a69463f1a9a88ce661ebe4d6d7d4 /mail/mail-ops.c
parent7c553e6e5bb47c7b4b26f9bed147e7b7df234f96 (diff)
downloadgsoc2013-evolution-08e6ede22adccfa0eb798135113b3e74dae0fa8d.tar.gz
gsoc2013-evolution-08e6ede22adccfa0eb798135113b3e74dae0fa8d.tar.zst
gsoc2013-evolution-08e6ede22adccfa0eb798135113b3e74dae0fa8d.zip
#include <camel/camel-file-utils.h>
* message-list.c: #include <camel/camel-file-utils.h> * mail-ops.c (get_folderinfo_get): * subscribe-dialog.c (build_tree): Update for camel_store_get_folder_info prototype change. * mail-format.c (handle_text_plain_flowed): Improve more on the fix from the other day: the first level of indentation adds blank lines, but further levels don't... svn path=/trunk/; revision=9660
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index badb3b777f..05ab7cbf4b 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -1039,11 +1039,13 @@ add_vtrash_info (CamelFolderInfo *info)
static void get_folderinfo_get(struct _mail_msg *mm)
{
struct _get_folderinfo_msg *m = (struct _get_folderinfo_msg *)mm;
-
+ guint32 flags = CAMEL_STORE_FOLDER_INFO_RECURSIVE;
+
+ if (camel_store_supports_subscriptions (m->store))
+ flags |= CAMEL_STORE_FOLDER_INFO_SUBSCRIBED;
+
camel_operation_register(mm->cancel);
- m->info = camel_store_get_folder_info (m->store, NULL, FALSE, TRUE,
- camel_store_supports_subscriptions (m->store),
- &mm->ex);
+ m->info = camel_store_get_folder_info (m->store, NULL, flags, &mm->ex);
if (m->info && m->info->url)
add_vtrash_info (m->info);
camel_operation_unregister(mm->cancel);