aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog2
-rw-r--r--mail/mail-format.c8
2 files changed, 7 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 3d6e4d168e..5f91a2e73d 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -33,6 +33,8 @@
* mail-format.c (mail_format_mime_message): We can't output
"<html>" and "</html>" here because it gets called recursively to
display message/rfc822 subparts.
+ (mail_format_raw_message): Add padding to match the formatted
+ display.
* mail-display.c (mail_display_redisplay): Move rodo's html header
changes from mail_format_mime_message to here.
diff --git a/mail/mail-format.c b/mail/mail-format.c
index c195579e9a..8d31328153 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -188,13 +188,15 @@ mail_format_raw_message (CamelMimeMessage *mime_message, MailDisplay *md)
g_return_if_fail (CAMEL_IS_MIME_MESSAGE (mime_message));
+ mail_html_write (md->html, md->stream, "<table cellspacing=0 cellpadding=10 width=\"100%%\"><tr><td><tt>\n");
+
text = get_data_wrapper_text (CAMEL_DATA_WRAPPER (mime_message));
html = e_text_to_html (text, E_TEXT_TO_HTML_CONVERT_NL | E_TEXT_TO_HTML_CONVERT_SPACES | E_TEXT_TO_HTML_ESCAPE_8BIT);
- gtk_html_write (md->html, md->stream, "<tt>", 4);
+ g_free (text);
gtk_html_write (md->html, md->stream, html, strlen (html));
- gtk_html_write (md->html, md->stream, "</tt>", 5);
g_free (html);
- g_free (text);
+
+ mail_html_write (md->html, md->stream, "</tt></td></tr></table>");
}
static const char *
ss='deletions'>-39/+0 * Allow building on headantoine2014-10-063-5/+13 * - Add USES=libtool and INSTALL_TARGET=install-striptijl2014-10-063-26/+6 * devel/glib12 x11-toolkits/gtk12:tijl2014-09-131-1/+1 * - Add USES=libtool and INSTALL_TARGET=install-striptijl2014-09-081-10/+8 * Remove non staged ports without pending PR from p*bapt2014-09-0225-2460/+0 * Convert a bunch of USE_BZIP2 to USES=tar:bzip2adamw2014-07-301-2/+1 * Rename all patches that contain '::' as a path separator, and useadamw2014-07-301-0/+0 * Rename p*/ patch-xy patches to reflect the files they modify.adamw2014-07-292-0/+0 * Update to 1.8.2rene2014-07-213-5/+4 * Fix some non default LIB_DEPENDSbapt2014-07-161-1/+1 * Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS.adamw2014-07-161-0/+2 * 1: Stagify.vanilla2014-07-152-58/+109 * Modernize LIB_DEPENDSbapt2014-07-153-3/+3 * Reset maintainershipbapt2014-07-074-9/+9 * - Switch to USES=libtool, drop .la filesamdmi32014-07-042-4/+5 * - Remove conditional on ${PORT_OPTIONS:MDOCS} and simplify the Makefiledanfe2014-06-263-10/+6 * Convert GMAKE to MAKE_CMDbapt2014-06-251-1/+1 * 1: Stagify.vanilla2014-06-242-24/+41 * Unbreakantoine2014-06-212-9/+11 * Add staging supportskreuzer2014-06-191-6/+5 * Convert to use new options frameworkskreuzer2014-06-191-1/+3 * Add staging supportskreuzer2014-06-191-5/+8 * Add staging supportskreuzer2014-06-192-14/+17 * 1: Stagify.vanilla2014-06-102-12/+11 * Stagify.vanilla2014-06-102-1/+17 * Stagify.vanilla2014-06-101-2/+1 * - Convert gmake to USESmiwi2014-05-292-3/+2 * 2014-04-10 palm/gnome-pilot: gnome-panel 2.x will be updated in the GNOME 3 i...bapt2014-04-1111-383/+0 * Remove expired ports:antoine2014-03-165-54/+0 * Remove expired ports:rene2014-03-146-71/+0 * Support stagingehaupt2014-03-141-6/+5 * gnome-panel will be updated to the 3.x version when GNOME 3 will merged.kwm2014-03-111-0/+3 * Convert p* to USES=zipbapt2014-03-111-1/+1 * Remove expired ports:rene2014-03-1032-599/+0 * - Stage supportmiwi2014-03-092-4/+6 * Deprecate and set expiration date for some ports ignored on all supported ver...antoine2014-03-011-5/+3 * - Support stagingehaupt2014-02-271-5/+7 * palm/jpilot-db: Marked broken since Nov 2013, remove in 2 weeksmarino2014-02-261-0/+2 * Remove trailing whitespaces from category palmehaupt2014-02-211-1/+1 * According to the Porter's Handbook (5.12.2.3.) default options must be added toehaupt2014-02-101-0/+3 * Back to the futurbapt2014-02-104-4/+4 * Mark as deprecated unmaintained ports for which no public distfiles arebapt2014-02-104-0/+12 * - Stage supportmiwi2014-02-051-5/+4 * - Stage supportmiwi2014-02-012-13/+9 * - add stage supportaz2014-01-302-3/+1 * - Set LICENSErakuco2013-12-293-40/+39 * Add staging supportskreuzer2013-12-271-3/+4 * - Add STAGE and LICENSE supportfluffy2013-12-171-4/+4 * Remove expired ports:rene2013-11-188-120/+0 * palm/jpilot-db: Mark BROKEN, MASTER_SITES reorg rendered unfetchablemarino2013-11-081-1/+2 * - Remove manual creation and removal of share/applications, as it's now in th...amdmi32013-10-223-3/+0 * deprecate ports broken for more than 6 monthbapt2013-10-181-0/+3 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-2131-79/+46 * - Fix build after iconv change [1]madpilot2013-09-141-3/+2 * - convert to the new perl5 frameworkaz2013-09-121-6/+3 * - convert to the new perl5 frameworkaz2013-09-121-6/+3 * Add an explicit dependency on pkgconfbapt2013-09-061-2/+1 * . introduce ICONV_CONFIGURE_BASE variable at Mk/Uses/iconv.mk. It's value isbsam2013-09-063-4/+3 * Introduce ICONV_CONFIGURE_ARG variable defined at Uses/iconv.mk.bsam2013-09-051-1/+1 * Add an explicit dependency on pkgconfbapt2013-09-031-2/+1 * Add an explicit dependency on pkgconfantoine2013-09-031-1/+1 * Add an explicit dependency on pkgconfbapt2013-09-031-1/+1 * Add an explicit dependency on pkgconfantoine2013-09-031-1/+1 * Add an explicit dependency on pkgconfantoine2013-09-031-1/+1 * Remove expired ports:rene2013-08-286-362/+0 * - Remove MAKE_JOBS_SAFE variableak2013-08-154-4/+0 * - Convert to new perl frameworkaz2013-08-031-7/+2 * Deprecate and set expiration date for ports broken for more than 6 monthbapt2013-07-271-0/+3 * Convert to new options frameworkbapt2013-06-071-10/+9 * Convert from WITHOUT_NLS to PORT_OPTIONS:MNLSbapt2013-05-061-7/+9 * Fix build on currentbapt2013-05-061-1/+1 * In preparation of removing devel/libusb (expires 2013-04-30), remove itrene2013-04-301-3/+0 * - Convert USE_ICONV=yes to USES=iconvmva2013-04-286-10/+6 * - Convert USE_GETTEXT to USES (part 4)ak2013-04-262-3/+2 * - Convert USE_GETTEXT to USES (part 1)ak2013-04-243-6/+3 * Finish converting the whole ports tree to USES=pkgconfigbapt2013-04-234-6/+4 * Reassign skv@ ports to the heapbapt2013-04-221-6/+2 * - Fix typo in OptionsNG conversionwg2013-04-071-1/+1 * - Broken fails to buildmiwi2013-04-021-0/+1 * Style: tab -> space.eadler2013-03-291-1/+1 * Drop support for old versions of FreeBSD from unmaintained portseadler2013-03-281-4/+0 * Mechanically convert unmaintained ports which use "gnomehack" to use "pathfix...eadler2013-03-282-11/+6 * Readd removed commentsbdrewery2013-03-221-0/+2 * Convert to new options framework ports in p* catoriesbapt2013-03-221-16/+12 * Add an explicit dependency on pkgconfbapt2013-03-221-6/+4 * Add an explicit dependency on pkgconfbapt2013-03-221-6/+2 * This changes almost all the "gnomehack" only USE_GNOME cases to USES= pathfix.eadler2013-03-19