From 9598151a10dd3bff1d658dfd8b20bb8cb2dba847 Mon Sep 17 00:00:00 2001 From: Shuai Liu Date: Wed, 30 Apr 2008 06:38:06 +0000 Subject: [PATCH] Patch from Shuai Liu 2008-04-30 Shuai Liu ** Fix for bug #530672 Evolution crashes when viewing pgp-signed message * em-format-html-display.c: Modify the array of smime_sign_colour from 4 to 5 to ensure the input by data-server is right svn path=/trunk/; revision=35447 --- mail/ChangeLog | 8 ++++++++ mail/em-format-html-display.c | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 73a7c48244..92e1583fe7 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,11 @@ +2008-04-30 Shuai Liu + + ** Fix for bug #530672 + Evolution crashes when viewing pgp-signed message + + * em-format-html-display.c: Modify the array of smime_sign_colour + from 4 to 5 to ensure the input by data-server is right + 2008-04-29 Milan Crha * em-utils.c: (em_utils_snoop_type): diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c index 7d6ff4f7aa..9f21fb565c 100644 --- a/mail/em-format-html-display.c +++ b/mail/em-format-html-display.c @@ -985,8 +985,8 @@ static const struct { { "stock_lock-ok", N_("Encrypted, strong"), N_("This message is encrypted, with a strong encryption algorithm. It would be very difficult for an outsider to view the content of this message in a practical amount of time.") }, }; -static const char *smime_sign_colour[4] = { - "", " bgcolor=\"#88bb88\"", " bgcolor=\"#bb8888\"", " bgcolor=\"#e8d122\"" +static const char *smime_sign_colour[5] = { + "", " bgcolor=\"#88bb88\"", " bgcolor=\"#bb8888\"", " bgcolor=\"#e8d122\"","" }; struct _smime_pobject {