summaryrefslogtreecommitdiffstats
path: root/kmail
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-22 13:25:45 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-22 13:25:45 -0500
commiteb918b697e91b46ea69500e1ae77208dabb6bd8e (patch)
treedcc22c93a5a86cc3520becb514ac9aa1b4d9a945 /kmail
parentda8d6afa1726eabadd968c4f27ef4f87f573d510 (diff)
downloadtdepim-eb918b697e91b46ea69500e1ae77208dabb6bd8e.tar.gz
tdepim-eb918b697e91b46ea69500e1ae77208dabb6bd8e.zip
Fix remaining issues from mimetype icon rename
Diffstat (limited to 'kmail')
-rw-r--r--kmail/kmmimeparttree.cpp4
-rw-r--r--kmail/kmmsgpartdlg.cpp4
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") );
}