aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@src.gnome.org>2004-11-02 23:34:28 +0800
committerRadek Doulik <rodo@src.gnome.org>2004-11-02 23:34:28 +0800
commitcc2952f2e52a668c6588ac770a9c9926531ee6dd (patch)
tree75282d0f53d8553adc242dc8d2f08ac3a14b4f4c /mail/em-format-html.c
parent805838fa3f991e9e077ebc1a2b9efc8eed491ab9 (diff)
downloadgsoc2013-evolution-cc2952f2e52a668c6588ac770a9c9926531ee6dd.tar.gz
gsoc2013-evolution-cc2952f2e52a668c6588ac770a9c9926531ee6dd.tar.zst
gsoc2013-evolution-cc2952f2e52a668c6588ac770a9c9926531ee6dd.zip
use shorthand border: property
svn path=/trunk/; revision=27796
Diffstat (limited to 'mail/em-format-html.c')
-rw-r--r--mail/em-format-html.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 3b26783cee..e92c18fd75 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -659,7 +659,7 @@ efh_text_plain(EMFormatHTML *efh, CamelStream *stream, CamelMimePart *part, EMFo
struct _EMFormatHTMLCache *efhc;
camel_stream_printf (stream,
- "<div style=\"border-style: solid; border-color: #%06x; border-width: 1px; background-color: #%06x; padding: 10px;\">\n",
+ "<div style=\"border: solid #%06x 1px; background-color: #%06x; padding: 10px;\">\n",
efh->frame_colour & 0xffffff, efh->content_colour & 0xffffff);
flags = efh->text_html_flags;
@@ -767,7 +767,7 @@ efh_text_enriched(EMFormatHTML *efh, CamelStream *stream, CamelMimePart *part, E
camel_object_unref(enriched);
camel_stream_printf (stream,
- "<div style=\"border-style: solid; border-color: #%06x; border-width: 1px; background-color: #%06x; padding: 10px;\">\n",
+ "<div style=\"border: solid #%06x 1px; background-color: #%06x; padding: 10px;\">\n",
efh->frame_colour & 0xffffff, efh->content_colour & 0xffffff);
em_format_format_text((EMFormat *)efh, (CamelStream *)filtered_stream, dw);
@@ -790,7 +790,7 @@ efh_text_html(EMFormatHTML *efh, CamelStream *stream, CamelMimePart *part, EMFor
char *cid = NULL;
camel_stream_printf (stream,
- "<div style=\"border-style: solid; border-color: #%06x; border-width: 1px; background-color: #%06x;\">\n"
+ "<div style=\"border: solid #%06x 1px; background-color: #%06x;\">\n"
"<!-- text/html -->\n",
efh->frame_colour & 0xffffff, efh->content_colour & 0xffffff);
@@ -941,7 +941,7 @@ efh_message_deliverystatus(EMFormatHTML *efh, CamelStream *stream, CamelMimePart
/* Yuck, this is copied from efh_text_plain */
camel_stream_printf (stream,
- "<div style=\"border-style: solid; border-color: #%06x; border-width: 1px; background-color: #%06x; padding: 10px;\">\n",
+ "<div style=\"border: solid #%06x 1px; background-color: #%06x; padding: 10px;\">\n",
efh->frame_colour & 0xffffff, efh->content_colour & 0xffffff);
filtered_stream = camel_stream_filter_new_with_stream(stream);