Now the "load images" and "details" actions in msg view window are not in the
[modest] / src / widgets / modest-msg-view.c
index f8c4bb8..ac28fa5 100644 (file)
@@ -121,6 +121,18 @@ modest_msg_view_remove_attachment (ModestMsgView *self, TnyMimePart *attachment)
        MODEST_MSG_VIEW_GET_IFACE (self)->remove_attachment_func (self, attachment);
 }
 
+void
+modest_msg_view_request_fetch_images (ModestMsgView *self)
+{
+       MODEST_MSG_VIEW_GET_IFACE (self)->request_fetch_images_func (self);
+}
+
+gboolean
+modest_msg_view_has_blocked_external_images (ModestMsgView *self)
+{
+       return MODEST_MSG_VIEW_GET_IFACE (self)->has_blocked_external_images_func (self);
+}
+
 static void
 modest_msg_view_base_init (gpointer g_class)
 {
@@ -206,6 +218,8 @@ modest_msg_view_get_type (void)
                g_type_interface_add_prerequisite (my_type,
                                                   TNY_TYPE_MIME_PART_VIEW);
                g_type_interface_add_prerequisite (my_type,
+                                                  TNY_TYPE_HEADER_VIEW);
+               g_type_interface_add_prerequisite (my_type,
                                                   MODEST_TYPE_MIME_PART_VIEW);
 
        }