evolution r35487 - branches/gnome-2-22/mail



Author: psankar
Date: Fri May  9 08:22:44 2008
New Revision: 35487
URL: http://svn.gnome.org/viewvc/evolution?rev=35487&view=rev

Log:
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>




Modified:
   branches/gnome-2-22/mail/ChangeLog
   branches/gnome-2-22/mail/em-format-html-display.c

Modified: branches/gnome-2-22/mail/em-format-html-display.c
==============================================================================
--- branches/gnome-2-22/mail/em-format-html-display.c	(original)
+++ branches/gnome-2-22/mail/em-format-html-display.c	Fri May  9 08:22:44 2008
@@ -2470,7 +2470,7 @@
 	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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]