aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-local.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-08-11 00:37:02 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-08-11 00:37:02 +0800
commitbcbb63c59f80eb4e684036c5ef58ab141fb01b03 (patch)
tree4c2bc22eba265c15a1afe5511fc208db9c5d71f4 /mail/mail-local.c
parent0c8f2908653fdecd2ef5ef8cf7f2333f9bc910c4 (diff)
downloadgsoc2013-evolution-bcbb63c59f80eb4e684036c5ef58ab141fb01b03.tar.gz
gsoc2013-evolution-bcbb63c59f80eb4e684036c5ef58ab141fb01b03.tar.zst
gsoc2013-evolution-bcbb63c59f80eb4e684036c5ef58ab141fb01b03.zip
Update for append_message api change.
2000-08-10 Not Zed <NotZed@HelixCode.com> * mail-local.c (do_local_reconfigure_folder): Update for append_message api change. * message-list.c (message_list_regenerate): Change for search api change. (ml_tree_value_at): Add a colour column, based on the colour assigned in the summary. (message_list_init_renderers): Init colour column. svn path=/trunk/; revision=4685
Diffstat (limited to 'mail/mail-local.c')
-rw-r--r--mail/mail-local.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/mail/mail-local.c b/mail/mail-local.c
index b326a15cac..36ae9770a4 100644
--- a/mail/mail-local.c
+++ b/mail/mail-local.c
@@ -260,6 +260,7 @@ do_local_reconfigure_folder(FolderBrowser *fb, char *newtype, GtkProgress *progr
for (i = 0; i < uids->len; i++) {
CamelMimeMessage *msg;
char *uid = uids->pdata[i];
+ const CamelMessageInfo *info;
update_progress(progress, NULL, i/uids->len);
@@ -272,9 +273,8 @@ do_local_reconfigure_folder(FolderBrowser *fb, char *newtype, GtkProgress *progr
g_warning("cannot get message");
return;
}
- camel_folder_append_message(tofolder, msg,
- camel_folder_get_message_flags(fromfolder, uid),
- ex);
+ info = camel_folder_get_message_info(fromfolder, uid);
+ camel_folder_append_message(tofolder, msg, info, ex);
if (camel_exception_is_set(ex)) {
/* we're fucked a bit ... */
/* need to: delete new folder
@@ -283,8 +283,6 @@ do_local_reconfigure_folder(FolderBrowser *fb, char *newtype, GtkProgress *progr
return;
}
gtk_object_unref((GtkObject *)msg);
-#warning "because flags were removed from the message"
-#warning "we can't keep them when converting mail storage format"
}
update_progress(progress, "Synchronising", 0.0);