aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/mbox
diff options
context:
space:
mode:
authorbertrand <bertrand@helixcode.com>2000-03-21 22:50:12 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-03-21 22:50:12 +0800
commit171c2a9ec5c4534907318c84a5e9f4fa6813fe01 (patch)
tree5ca2ecd20c07e77fe39688ced8d718137358132d /camel/providers/mbox
parent24c2b8d45b439d7c9ec12ebed713523d770753ad (diff)
downloadgsoc2013-evolution-171c2a9ec5c4534907318c84a5e9f4fa6813fe01.tar.gz
gsoc2013-evolution-171c2a9ec5c4534907318c84a5e9f4fa6813fe01.tar.zst
gsoc2013-evolution-171c2a9ec5c4534907318c84a5e9f4fa6813fe01.zip
name change and new fields.
2000-03-21 bertrand <bertrand@helixcode.com> * camel-folder-summary.h: name change and new fields. * providers/mbox/camel-mbox-search.c: update to conform to name change in the summary fields. svn path=/trunk/; revision=2131
Diffstat (limited to 'camel/providers/mbox')
-rw-r--r--camel/providers/mbox/camel-mbox-search.c2
-rw-r--r--camel/providers/mbox/camel-mbox-summary.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/mbox/camel-mbox-search.c b/camel/providers/mbox/camel-mbox-search.c
index 515bd8842c..47d4012c4c 100644
--- a/camel/providers/mbox/camel-mbox-search.c
+++ b/camel/providers/mbox/camel-mbox-search.c
@@ -229,7 +229,7 @@ func_header_contains(struct _ESExp *f, int argc, struct _ESExpResult **argv, voi
if (!strcasecmp(headername, "subject")) {
header = ctx->message_current->subject;
} else if (!strcasecmp(headername, "date")) {
- header = ctx->message_current->date;
+ header = ctx->message_current->sent_date;
} else if (!strcasecmp(headername, "from")) {
header = ctx->message_current->sender;
} else {
diff --git a/camel/providers/mbox/camel-mbox-summary.c b/camel/providers/mbox/camel-mbox-summary.c
index 51946f1789..1b4826058b 100644
--- a/camel/providers/mbox/camel-mbox-summary.c
+++ b/camel/providers/mbox/camel-mbox-summary.c
@@ -296,7 +296,7 @@ camel_mbox_summary_append_internal_to_external (CamelMboxSummary *internal,
external_entry.subject = internal_entry->subject ? strdup (internal_entry->subject) : NULL;
external_entry.uid = g_strdup_printf ("%u", internal_entry->uid);
- external_entry.date = internal_entry->date ? strdup (internal_entry->date) : NULL;
+ external_entry.sent_date = internal_entry->date ? strdup (internal_entry->date) : NULL;
external_entry.sender = internal_entry->sender ? strdup (internal_entry->sender) : NULL;
g_array_append_vals (external_array, &external_entry, 1);