|
|
|
@ -366,11 +366,11 @@ void KMMimePartTreeItem::setIconAndTextForType( const TQString & mime )
|
|
|
|
|
setPixmap( 0, SmallIcon("folder") );
|
|
|
|
|
} else if ( mimetype == "application/octet-stream" ) {
|
|
|
|
|
setText( 1, i18n("Unspecified Binary Data") ); // don't show "Unknown"...
|
|
|
|
|
setPixmap( 0, SmallIcon("text-x-katefilelist") );
|
|
|
|
|
setPixmap( 0, SmallIcon("unknown") );
|
|
|
|
|
} else {
|
|
|
|
|
KMimeType::Ptr mtp = KMimeType::mimeType( mimetype );
|
|
|
|
|
setText( 1, (mtp && !mtp->comment().isEmpty()) ? mtp->comment() : mimetype );
|
|
|
|
|
setPixmap( 0, mtp ? mtp->pixmap( TDEIcon::Small) : SmallIcon("text-x-katefilelist") );
|
|
|
|
|
setPixmap( 0, mtp ? mtp->pixmap( TDEIcon::Small) : SmallIcon("unknown") );
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|