2008-09-18 [colin] 3.5.0cvs113
[claws.git] / src / messageview.c
index b2ed47b1c716f34fd36871beac35ebb45dcd0e20..762541b260722e550cc2068bc605b6cee2bcc6cd 100644 (file)
@@ -1287,6 +1287,12 @@ gint messageview_show(MessageView *messageview, MsgInfo *msginfo,
                                                alt_parent = mimeinfo;
                                                break;
                                        }
+                                       if (mimeinfo->type == MIMETYPE_TEXT && 
+                                           !strcasecmp(mimeinfo->subtype, "html")) {
+                                               /* we got it */
+                                               mimeview_select_mimepart_icon(messageview->mimeview, mimeinfo);
+                                               goto done;
+                                       }
                                }
                        }