evolution r37177 - branches/gnome-2-24/mail



Author: sragavan
Date: Thu Jan 29 16:10:32 2009
New Revision: 37177
URL: http://svn.gnome.org/viewvc/evolution?rev=37177&view=rev

Log:
2009-01-29  Srinivasa Ragavan  <sragavan novell com>

	* em-format-html-display.c: (efhd_update_bar),
	(efhd_message_update_bar): Show attachment bar at all times. Seems
	like the contents are missing at times.




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

Modified: branches/gnome-2-24/mail/em-format-html-display.c
==============================================================================
--- branches/gnome-2-24/mail/em-format-html-display.c	(original)
+++ branches/gnome-2-24/mail/em-format-html-display.c	Thu Jan 29 16:10:32 2009
@@ -2173,7 +2173,8 @@
 	EMFormatHTMLDisplay *efhd = (EMFormatHTMLDisplay *)efh;
 	struct _EMFormatHTMLDisplayPrivate *priv = efhd->priv;
 
-	e_attachment_bar_refresh (E_ATTACHMENT_BAR (priv->attachment_bar));
+	if (priv->attachment_bar)
+		e_attachment_bar_refresh (E_ATTACHMENT_BAR (priv->attachment_bar));
 
 	return TRUE;
 }
@@ -2256,7 +2257,7 @@
 	EMFormatHTMLDisplay *efhd = (EMFormatHTMLDisplay *) emf;
 	const char *classid = "attachment-bar-refresh";
 
-	if (efhd->nobar || efhd->priv->updated || !efhd->priv->attachment_bar)
+	if (efhd->nobar || efhd->priv->updated)
 		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]