aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-09-20 01:27:59 +0800
committerDan Winship <danw@src.gnome.org>2000-09-20 01:27:59 +0800
commit4e1d332270e5109485c405f4851c5adc90e3eedb (patch)
tree80f518c31b26a5b47927cca9f9996fa827831d47 /mail/mail-ops.c
parent7dcc0325454ed6c71c2532befbb6aadb32391766 (diff)
downloadgsoc2013-evolution-4e1d332270e5109485c405f4851c5adc90e3eedb.tar
gsoc2013-evolution-4e1d332270e5109485c405f4851c5adc90e3eedb.tar.gz
gsoc2013-evolution-4e1d332270e5109485c405f4851c5adc90e3eedb.tar.bz2
gsoc2013-evolution-4e1d332270e5109485c405f4851c5adc90e3eedb.tar.lz
gsoc2013-evolution-4e1d332270e5109485c405f4851c5adc90e3eedb.tar.xz
gsoc2013-evolution-4e1d332270e5109485c405f4851c5adc90e3eedb.tar.zst
gsoc2013-evolution-4e1d332270e5109485c405f4851c5adc90e3eedb.zip
Update for CamelFolder changes (subfolder_names -> subfolder_info).
* mail-ops.c (do_scan_subfolders): Update for CamelFolder changes (subfolder_names -> subfolder_info). svn path=/trunk/; revision=5504
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 0109859349..63c75433a0 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -1394,6 +1394,7 @@ do_scan_subfolders (gpointer in_data, gpointer op_data, CamelException *ex)
scan_subfolders_op_t *data = (scan_subfolders_op_t *) op_data;
scan_subfolders_folderinfo_t *info;
GPtrArray *lsub;
+ CamelFolderInfo *fi;
CamelFolder *folder;
int i;
char *splice;
@@ -1409,20 +1410,21 @@ do_scan_subfolders (gpointer in_data, gpointer op_data, CamelException *ex)
mail_tool_camel_lock_up ();
- lsub = camel_folder_get_subfolder_names (folder);
+ lsub = camel_folder_get_subfolder_info (folder);
mail_tool_camel_lock_down ();
for (i = 0; i < lsub->len; i++) {
- mail_op_set_message (_("Found subfolder \"%s\""), (char *) lsub->pdata[i]);
+ fi = lsub->pdata[i];
+ mail_op_set_message (_("Found subfolder \"%s\""), fi->name);
info = g_new (scan_subfolders_folderinfo_t, 1);
- info->path = g_strdup_printf ("/%s", (char *) lsub->pdata[i]);
+ info->path = g_strdup_printf ("/%s", fi->name);
info->uri = g_strdup_printf ("%s%s%s", input->source_uri, splice,
- (char *)lsub->pdata[i]);
+ fi->full_name);
g_ptr_array_add (data->new_folders, info);
}
- camel_folder_free_subfolder_names (folder, lsub);
+ camel_folder_free_subfolder_info (folder, lsub);
/* FIXME: We intentionally lose a reference to the store here
* for the benefit of the IMAP provider. Undo this when the