2005-11-18 [paul] 1.9.100cvs20
[claws.git] / src / textview.c
index 3597cbe3a0e2a4ddc00ca2968714bec5f8fbb960..4b4539ed431c5e6cf3aca800262aabbd40663d1d 100644 (file)
@@ -639,7 +639,7 @@ static void textview_add_part(TextView *textview, MimeInfo *mimeinfo)
                        g_object_unref(pixbuf);
                        g_free(filename);
                }
-       } else if (mimeinfo->disposition != DISPOSITIONTYPE_ATTACHMENT) {
+       } else if (mimeinfo->type == MIMETYPE_TEXT) {
                if (prefs_common.display_header && (charcount > 0))
                        gtk_text_buffer_insert(buffer, &iter, "\n", 1);