From 180282f2014da13d762831a04fab51ff7b63b039 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 26 Aug 2003 16:20:17 +0000 Subject: Updated for camel namespace changes. 2003-08-26 Jeffrey Stedfast * component-factory.c: Updated for camel namespace changes. * folder-browser.c: Same. * mail-autofilter.c: Here too. * mail-callbacks.c: And here. * importers/evolution-mbox-importer.c: And finally here. svn path=/trunk/; revision=22367 --- mail/ChangeLog | 12 ++++++++++++ mail/component-factory.c | 2 +- mail/folder-browser.c | 2 +- mail/importers/evolution-mbox-importer.c | 2 +- mail/mail-autofilter.c | 2 +- mail/mail-callbacks.c | 2 +- 6 files changed, 17 insertions(+), 5 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 3d0d9e9c8e..a915e2a55a 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,15 @@ +2003-08-26 Jeffrey Stedfast + + * component-factory.c: Updated for camel namespace changes. + + * folder-browser.c: Same. + + * mail-autofilter.c: Here too. + + * mail-callbacks.c: And here. + + * importers/evolution-mbox-importer.c: And finally here. + 2003-08-25 Jeffrey Stedfast * mail-display.c: updated for namespace changed made to diff --git a/mail/component-factory.c b/mail/component-factory.c index 8789bcde8a..4f193e8d9d 100644 --- a/mail/component-factory.c +++ b/mail/component-factory.c @@ -531,7 +531,7 @@ message_rfc822_dnd (CamelFolder *dest, CamelStream *stream, CamelException *ex) camel_mime_parser_scan_from (mp, TRUE); camel_mime_parser_init_with_stream (mp, stream); - while (camel_mime_parser_step (mp, 0, 0) == HSCAN_FROM) { + while (camel_mime_parser_step (mp, 0, 0) == CAMEL_MIME_PARSER_STATE_FROM) { CamelMessageInfo *info; CamelMimeMessage *msg; diff --git a/mail/folder-browser.c b/mail/folder-browser.c index a886cfe77d..edb2ceaf3f 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -475,7 +475,7 @@ message_rfc822_dnd (CamelFolder *dest, CamelStream *stream, CamelException *ex) camel_mime_parser_scan_from (mp, TRUE); camel_mime_parser_init_with_stream (mp, stream); - while (camel_mime_parser_step (mp, 0, 0) == HSCAN_FROM) { + while (camel_mime_parser_step (mp, 0, 0) == CAMEL_MIME_PARSER_STATE_FROM) { CamelMessageInfo *info; CamelMimeMessage *msg; diff --git a/mail/importers/evolution-mbox-importer.c b/mail/importers/evolution-mbox-importer.c index ef31667e64..134f6b9233 100644 --- a/mail/importers/evolution-mbox-importer.c +++ b/mail/importers/evolution-mbox-importer.c @@ -133,7 +133,7 @@ process_item_fn (EvolutionImporter *eimporter, } ex = camel_exception_new (); - if (camel_mime_parser_step (mbi->mp, 0, 0) == HSCAN_FROM) { + if (camel_mime_parser_step (mbi->mp, 0, 0) == CAMEL_MIME_PARSER_STATE_FROM) { /* Import the next message */ CamelMimeMessage *msg; CamelMessageInfo *info; diff --git a/mail/mail-autofilter.c b/mail/mail-autofilter.c index f396b00d43..338eb51eaa 100644 --- a/mail/mail-autofilter.c +++ b/mail/mail-autofilter.c @@ -265,7 +265,7 @@ rule_from_message (FilterRule *rule, RuleContext *context, CamelMimeMessage *msg if (flags & AUTO_MLIST) { char *name, *mlist; - mlist = header_raw_check_mailing_list(&((CamelMimePart *)msg)->headers); + mlist = camel_header_raw_check_mailing_list(&((CamelMimePart *)msg)->headers); if (mlist) { rule_match_mlist(context, rule, mlist); name = g_strdup_printf (_("%s mailing list"), mlist); diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 21690c55ce..35815f8866 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -2202,7 +2202,7 @@ flag_followup_completed (BonoboUIComponent *uih, void *user_data, const char *pa uids = g_ptr_array_new (); message_list_foreach (fb->message_list, enumerate_msg, uids); - now = header_format_date (time (NULL), 0); + now = camel_header_format_date (time (NULL), 0); camel_folder_freeze (fb->folder); for (i = 0; i < uids->len; i++) { -- cgit v1.2.3