From dc497cb36bd6b3b00752195bfc6cfebfb11a1a7a Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 19 Nov 2003 21:22:12 +0000 Subject: Same. 2003-11-19 Jeffrey Stedfast * em-utils.c (em_utils_selection_set_urilist): Same. * em-format-html-display.c (efhd_drag_data_get): Same as below. * em-folder-tree.c (drag_text_uri_list): Terminate each url of a text/uri-list with a \r\n. svn path=/trunk/; revision=23451 --- mail/em-format-html-display.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mail/em-format-html-display.c') diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c index 779e70a69a..6aa74be4f1 100644 --- a/mail/em-format-html-display.c +++ b/mail/em-format-html-display.c @@ -984,10 +984,10 @@ efhd_drag_data_get(GtkWidget *w, GdkDragContext *drag, GtkSelectionData *data, g stream = camel_stream_mem_new(); /* TODO: shoudl format_format_text run on the content-object? */ /* TODO: should we just do format_content? */ - if (camel_content_type_is (((CamelDataWrapper *)part)->mime_type, "text", "*")) + if (camel_content_type_is (((CamelDataWrapper *)part)->mime_type, "text", "*")) { /* FIXME: this should be an em_utils method, it only needs a default charset param */ em_format_format_text((EMFormat *)pobject->format, stream, (CamelDataWrapper *)part); - else { + } else { CamelDataWrapper *dw = camel_medium_get_content_object((CamelMedium *)part); camel_data_wrapper_decode_to_stream(dw, stream); @@ -1010,7 +1010,7 @@ efhd_drag_data_get(GtkWidget *w, GdkDragContext *drag, GtkSelectionData *data, g if (path == NULL) return; - uri = g_strdup_printf("file://%s", path); + uri = g_strdup_printf("file://%s\r\n", path); g_free(path); gtk_selection_data_set(data, data->target, 8, uri, strlen(uri)); g_object_set_data_full((GObject *)w, "e-drag-uri", uri, g_free); -- cgit v1.2.3