aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-08-27 00:20:17 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-08-27 00:20:17 +0800
commit180282f2014da13d762831a04fab51ff7b63b039 (patch)
tree9f19df474a10b830aa4d284291ea3aebc060f1da /mail
parentcd393b796468bf62fc9e9a75eba9f25c60efc5fe (diff)
downloadgsoc2013-evolution-180282f2014da13d762831a04fab51ff7b63b039.tar.gz
gsoc2013-evolution-180282f2014da13d762831a04fab51ff7b63b039.tar.zst
gsoc2013-evolution-180282f2014da13d762831a04fab51ff7b63b039.zip
Updated for camel namespace changes.
2003-08-26 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog12
-rw-r--r--mail/component-factory.c2
-rw-r--r--mail/folder-browser.c2
-rw-r--r--mail/importers/evolution-mbox-importer.c2
-rw-r--r--mail/mail-autofilter.c2
-rw-r--r--mail/mail-callbacks.c2
6 files changed, 17 insertions, 5 deletions
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 <fejj@ximian.com>
+
+ * 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 <fejj@ximian.com>
* 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++) {