added support to text/enriched
authorMelvin Hadasht <melvin.hadasht@free.fr>
Wed, 28 Nov 2001 22:54:26 +0000 (22:54 +0000)
committerMelvin Hadasht <melvin.hadasht@free.fr>
Wed, 28 Nov 2001 22:54:26 +0000 (22:54 +0000)
src/mimeview.c

index ad063efb764bf68836fd1b279d6591a0ade96856..14e043880b6b79ee8bdf629943d1b28b69aeee29 100644 (file)
@@ -503,6 +503,7 @@ static void mimeview_selected(GtkCTree *ctree, GtkCTreeNode *node, gint column,
        switch (partinfo->mime_type) {
        case MIME_TEXT:
        case MIME_TEXT_HTML:
+       case MIME_TEXT_ENRICHED:
        case MIME_MESSAGE_RFC822:
        case MIME_MULTIPART:
                mimeview_show_message_part(mimeview, partinfo);
@@ -572,6 +573,7 @@ static void mimeview_button_pressed(GtkWidget *widget, GdkEventButton *event,
                        (GTK_CTREE(mimeview->ctree), mimeview->opened);
                if (partinfo && (partinfo->mime_type == MIME_TEXT ||
                                 partinfo->mime_type == MIME_TEXT_HTML ||
+                                partinfo->mime_type == MIME_TEXT_ENRICHED ||
                                 partinfo->mime_type == MIME_MESSAGE_RFC822 ||
                                 partinfo->mime_type == MIME_IMAGE ||
                                 partinfo->mime_type == MIME_MULTIPART))