From 299521f02c02278857dfd2561973dc0c94e44b57 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 1 Apr 2012 22:31:50 -0400 Subject: Whitespace cleanup. Replace 8-space indentation with tab characters, and various other automated cleanups. --- mail/em-format-html-display.c | 46 +++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 23 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 2a42beb943..889d69fdb1 100644 --- a/mail/em-format-html-display.c +++ b/mail/em-format-html-display.c @@ -383,7 +383,7 @@ efhd_xpkcs7mime_validity_clicked (GtkWidget *button, g_object_unref (builder); g_signal_connect ( - po->widget, "response", + po->widget, "response", G_CALLBACK (efhd_xpkcs7mime_info_response), po); gtk_widget_show (po->widget); @@ -529,8 +529,8 @@ efhd_parse_attachment (EMFormat *emf, * We have converted text/ * to text/html, other (binary) formats remained * untouched. */ ct = camel_content_type_decode (handler->mime_type); - if (g_strcmp0 (ct->type, "text") == 0) - puri->puri.mime_type = g_strdup ("text/html"); + if (g_strcmp0 (ct->type, "text") == 0) + puri->puri.mime_type = g_strdup ("text/html"); else puri->puri.mime_type = camel_content_type_simple (ct); camel_content_type_unref (ct); @@ -617,7 +617,7 @@ efhd_parse_optional (EMFormat *emf, gint len; len = part_id->len; - g_string_append (part_id, ".optional"); + g_string_append (part_id, ".optional"); puri = (EMFormatAttachmentPURI *) em_format_puri_new ( emf, sizeof (EMFormatAttachmentPURI), part, part_id->str); @@ -718,9 +718,9 @@ efhd_write_attachment_bar (EMFormat *emf, return; str = g_strdup_printf ( - "", puri->uri, puri->uri); + "id=\"%s\"data=\"%s\">", puri->uri, puri->uri); camel_stream_write_string (stream, str, cancellable, NULL); @@ -762,19 +762,19 @@ efhd_write_attachment (EMFormat *emf, else mime_type = efa->snoop_mime_type; - button_id = g_strconcat (puri->uri, ".attachment_button", NULL); + button_id = g_strconcat (puri->uri, ".attachment_button", NULL); desc = em_format_describe_part (puri->part, mime_type); str = g_strdup_printf ( - "
" - "" - "" - "
" - "" + "" + "" + "" - "" - "", puri->uri, button_id, desc); + "" + "" + "", puri->uri, button_id, desc); camel_stream_write_string (stream, str, cancellable, NULL); g_free (desc); @@ -786,8 +786,8 @@ efhd_write_attachment (EMFormat *emf, (efa->attachment_view_part_id)) { str = g_strdup_printf ( - "", cancellable, NULL); + camel_stream_write_string (stream, "", cancellable, NULL); } - camel_stream_write_string (stream, "
" + "" - "%s
%s
" - "
", + "
" + "
", puri->uri); camel_stream_write_string (stream, str, cancellable, NULL); @@ -805,10 +805,10 @@ efhd_write_attachment (EMFormat *emf, p->write_func (emf, p, stream, info, cancellable); } - camel_stream_write_string (stream, "
", cancellable, NULL); + camel_stream_write_string (stream, "
", cancellable, NULL); } static void @@ -825,9 +825,9 @@ efhd_write_secure_button (EMFormat *emf, return; str = g_strdup_printf ( - "", puri->uri, puri->uri); + "", puri->uri, puri->uri); camel_stream_write_string (stream, str, cancellable, NULL); @@ -1045,7 +1045,7 @@ efhd_attachment_button (EMFormat *emf, } widget = e_attachment_button_new (); - g_object_set_data (G_OBJECT (widget), "uri", puri->uri); + g_object_set_data (G_OBJECT (widget), "uri", puri->uri); e_attachment_button_set_attachment ( E_ATTACHMENT_BUTTON (widget), info->attachment); e_attachment_button_set_view ( -- cgit