+
+GList *
+modest_msg_view_get_attachments (ModestMsgView *self)
+{
+ ModestMsgViewPrivate *priv;
+
+ g_return_val_if_fail (MODEST_IS_MSG_VIEW (self), NULL);
+ priv = MODEST_MSG_VIEW_GET_PRIVATE (self);
+
+ return modest_attachments_view_get_attachments (MODEST_ATTACHMENTS_VIEW (priv->attachments_view));
+
+}
+
+void
+modest_msg_view_grab_focus (ModestMsgView *view)
+{
+ ModestMsgViewPrivate *priv = NULL;
+
+ g_return_if_fail (MODEST_IS_MSG_VIEW (view));
+ priv = MODEST_MSG_VIEW_GET_PRIVATE (view);
+
+ gtk_widget_grab_focus (priv->gtkhtml);
+}
+
+void
+modest_msg_view_remove_attachment (ModestMsgView *view, TnyMimePart *attachment)
+{
+ TnyMsg *msg;
+ ModestMsgViewPrivate *priv;
+
+ g_return_if_fail (MODEST_IS_MSG_VIEW (view));
+ g_return_if_fail (TNY_IS_MIME_PART (attachment));
+ priv = MODEST_MSG_VIEW_GET_PRIVATE (view);
+
+ msg = modest_msg_view_get_message (view);
+ modest_attachments_view_remove_attachment (MODEST_ATTACHMENTS_VIEW (priv->attachments_view),
+ attachment);
+
+}