aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2003-08-27 02:17:59 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-08-27 02:17:59 +0800
commita09cef605f4fc1bfbfbb4d23d32106f710debc95 (patch)
tree29094be868b06499a1020d59f891fcca435fd966 /mail/mail-display.c
parent04b9ec51d45f2efb3b8118eef99c7592ba269792 (diff)
downloadgsoc2013-evolution-a09cef605f4fc1bfbfbb4d23d32106f710debc95.tar.gz
gsoc2013-evolution-a09cef605f4fc1bfbfbb4d23d32106f710debc95.tar.zst
gsoc2013-evolution-a09cef605f4fc1bfbfbb4d23d32106f710debc95.zip
temporarily reverting camel namespace changes until after other branches have been merged
svn path=/trunk/; revision=22374
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r--mail/mail-display.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c
index ec774e71c1..f9dc8580dd 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -1056,7 +1056,7 @@ drag_data_get_cb (GtkWidget *widget,
g_object_set_data_full ((GObject *) widget, "uri-list", uri_list, g_free);
break;
case DND_TARGET_TYPE_PART_MIME_TYPE:
- if (camel_content_type_is (((CamelDataWrapper *) part)->mime_type, "text", "*")) {
+ if (header_content_type_is (((CamelDataWrapper *) part)->mime_type, "text", "*")) {
GByteArray *ba;
ba = mail_format_get_data_wrapper_text ((CamelDataWrapper *) part, NULL);
@@ -1149,7 +1149,7 @@ do_attachment_header (GtkHTML *html, GtkHTMLEmbedded *eb,
}
/* Drag & Drop */
- drag_types[DND_TARGET_TYPE_PART_MIME_TYPE].target = camel_content_type_simple (((CamelDataWrapper *) part)->mime_type);
+ drag_types[DND_TARGET_TYPE_PART_MIME_TYPE].target = header_content_type_simple (((CamelDataWrapper *) part)->mime_type);
camel_strdown (drag_types[DND_TARGET_TYPE_PART_MIME_TYPE].target);
gtk_drag_source_set (button, GDK_BUTTON1_MASK,
@@ -1389,7 +1389,7 @@ on_url_requested (GtkHTML *html, const char *url, GtkHTMLStream *handle,
html_stream = mail_display_stream_new (html, handle);
- if (camel_content_type_is (content_type, "text", "*")) {
+ if (header_content_type_is (content_type, "text", "*")) {
mail_format_data_wrapper_write_to_stream (wrapper, TRUE, md, html_stream);
} else {
camel_data_wrapper_decode_to_stream (wrapper, html_stream);
@@ -1997,7 +1997,7 @@ mail_display_render (MailDisplay *md, GtkHTML *html, gboolean reset_scroll)
due_by = camel_tag_get (&md->info->user_tags, "due-by");
if (due_by && *due_by) {
- target_date = camel_header_decode_date (due_by, &offset);
+ target_date = header_decode_date (due_by, &offset);
now = time (NULL);
if (now >= target_date)
overdue = _("Overdue:");