diff options
author | Not Zed <NotZed@HelixCode.com> | 2000-08-11 00:37:02 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-08-11 00:37:02 +0800 |
commit | bcbb63c59f80eb4e684036c5ef58ab141fb01b03 (patch) | |
tree | 4c2bc22eba265c15a1afe5511fc208db9c5d71f4 /mail/mail-local.c | |
parent | 0c8f2908653fdecd2ef5ef8cf7f2333f9bc910c4 (diff) | |
download | gsoc2013-evolution-bcbb63c59f80eb4e684036c5ef58ab141fb01b03.tar gsoc2013-evolution-bcbb63c59f80eb4e684036c5ef58ab141fb01b03.tar.gz gsoc2013-evolution-bcbb63c59f80eb4e684036c5ef58ab141fb01b03.tar.bz2 gsoc2013-evolution-bcbb63c59f80eb4e684036c5ef58ab141fb01b03.tar.lz gsoc2013-evolution-bcbb63c59f80eb4e684036c5ef58ab141fb01b03.tar.xz 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.c | 8 |
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); |