aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShuai Liu <shuai.liu@sun.com>2008-04-30 14:38:06 +0800
committerBharath Acharya <abharath@src.gnome.org>2008-04-30 14:38:06 +0800
commit9598151a10dd3bff1d658dfd8b20bb8cb2dba847 (patch)
tree79a64e00580310e41bd0e821e97fb70b98dfed78
parent588027a6e25e58d09334adb6e33cd5ada08f8b7b (diff)
downloadgsoc2013-evolution-9598151a10dd3bff1d658dfd8b20bb8cb2dba847.tar.gz
gsoc2013-evolution-9598151a10dd3bff1d658dfd8b20bb8cb2dba847.tar.zst
gsoc2013-evolution-9598151a10dd3bff1d658dfd8b20bb8cb2dba847.zip
Patch from Shuai Liu <shuai.liu@sun.com>
2008-04-30 Shuai Liu <shuai.liu@sun.com> ** 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
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/em-format-html-display.c4
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 <shuai.liu@sun.com>
+
+ ** 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 <mcrha@redhat.com>
* 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 {