aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2008-05-06 01:40:50 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-05-06 01:40:50 +0800
commit9dc157002d2114f6d797168de7f84d647d354223 (patch)
tree3904e15da3e34e5ed10f4d0e1b97591cbde9e4c7
parentca49d5e576c58e8b7d8a73e425196cc30e3356fb (diff)
downloadgsoc2013-evolution-9dc157002d2114f6d797168de7f84d647d354223.tar.gz
gsoc2013-evolution-9dc157002d2114f6d797168de7f84d647d354223.tar.zst
gsoc2013-evolution-9dc157002d2114f6d797168de7f84d647d354223.zip
** Fixes bug #531426
2008-05-05 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #531426 * mail/em-format-html.c (efh_format_headers): Display face header images at 48x48 instead of 64x64. Patch from Roland Clobus. svn path=/trunk/; revision=35469
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/em-format-html.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index c36c6d7873..bdff98881a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+2008-05-05 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes bug #531426
+
+ * em-format-html.c (efh_format_headers):
+ Display face header images at 48x48 instead of 64x64.
+ Patch from Roland Clobus.
+
2008-05-04 Matthew Barnes <mbarnes@redhat.com>
* mail-component.c (mail_component_show_logger):
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 53a6ffc8d8..12fd050157 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -2003,7 +2003,7 @@ efh_format_headers(EMFormatHTML *efh, CamelStream *stream, CamelMedium *part)
part = camel_mime_part_new ();
camel_mime_part_set_content ((CamelMimePart *) part, (const char *) face_header_value, face_header_len, "image/png");
classid = g_strdup_printf("icon:///em-format-html/face/photo/header");
- camel_stream_printf(stream, "<td align=\"right\" valign=\"top\"><img width=64 src=\"%s\"></td>", classid);
+ camel_stream_printf(stream, "<td align=\"right\" valign=\"top\"><img width=48 src=\"%s\"></td>", classid);
em_format_add_puri(emf, sizeof(EMFormatPURI), classid, part, efh_write_image);
camel_object_unref(part);
}