* When we were setting an empty message, we were getting the
previous attachment list in the view. Now the attachments are
correctly updated when we set an empty message (msg == NULL).
pmo-trunk-r902
if (!msg) {
tny_header_view_clear (TNY_HEADER_VIEW (priv->mail_header_view));
+ modest_attachments_view_set_message (MODEST_ATTACHMENTS_VIEW (priv->attachments_view), NULL);
gtk_widget_hide_all (priv->mail_header_view);
gtk_widget_hide_all (priv->attachments_view);
gtk_widget_set_no_show_all (priv->attachments_view, TRUE);