aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog9
-rw-r--r--mail/em-format-html-display.c2
2 files changed, 10 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index a46dbef5d2..5e1bd36507 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,12 @@
+2008-05-09 Sankar P <psankar@novell.com>
+
+ ** Fix for bug #531519
+
+ * em-format-html-display.c: (efhd_message_update_bar):
+ Evolution crashes on print-preview.
+
+ ** Committed on behalf of Srinivasa Ragavan <sragavan@novell.com>
+
2008-05-06 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #424744
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c
index 9f21fb565c..d1bc065064 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -2273,7 +2273,7 @@ efhd_message_update_bar(EMFormat *emf, CamelStream *stream, CamelMimePart *part,
EMFormatHTMLDisplay *efhd = (EMFormatHTMLDisplay *) emf;
const char *classid = "attachment-bar-refresh";
- if (efhd->nobar || efhd->priv->updated )
+ if (efhd->nobar || efhd->priv->updated || !efhd->priv->attachment_bar)
return;
efhd->priv->files = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);