From eb918b697e91b46ea69500e1ae77208dabb6bd8e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 22 Oct 2014 13:25:45 -0500 Subject: Fix remaining issues from mimetype icon rename --- kmail/kmmimeparttree.cpp | 4 ++-- kmail/kmmsgpartdlg.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kmail/kmmimeparttree.cpp b/kmail/kmmimeparttree.cpp index 4448cec45..200e77368 100644 --- a/kmail/kmmimeparttree.cpp +++ b/kmail/kmmimeparttree.cpp @@ -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") ); } } diff --git a/kmail/kmmsgpartdlg.cpp b/kmail/kmmsgpartdlg.cpp index 2a0bd8cbc..869ee015c 100644 --- a/kmail/kmmsgpartdlg.cpp +++ b/kmail/kmmsgpartdlg.cpp @@ -65,7 +65,7 @@ KMMsgPartDialog::KMMsgPartDialog( const TQString & caption, // mimetype icon: mIcon = new TQLabel( plainPage() ); - mIcon->setPixmap( DesktopIcon("text-x-katefilelist") ); + mIcon->setPixmap( DesktopIcon("unknown") ); glay->addMultiCellWidget( mIcon, 0, 1, 0, 0 ); // row 0: Type combobox: @@ -325,7 +325,7 @@ void KMMsgPartDialog::slotMimeTypeChanged( const TQString & mimeType ) { == TQValidator::Acceptable ) mIcon->setPixmap( KMimeType::mimeType( mimeType )->pixmap( TDEIcon::Desktop ) ); else - mIcon->setPixmap( DesktopIcon("text-x-katefilelist") ); + mIcon->setPixmap( DesktopIcon("unknown") ); } -- cgit v1.2.1