summaryrefslogtreecommitdiffstats
path: root/kmail
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-22 01:27:30 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-22 01:27:30 -0500
commit8bd51635d7c39bee8703a5f83bceee117f0f00c8 (patch)
treebec74335497a5cdf83b63b7e649c04ac3474e340 /kmail
parentc1af5c98d368b094d8f79c20ce64817f6518706b (diff)
downloadtdepim-8bd51635d7c39bee8703a5f83bceee117f0f00c8.tar.gz
tdepim-8bd51635d7c39bee8703a5f83bceee117f0f00c8.zip
Bring most mimetypes in line with XDG specifications. The following are not fully verified in source as of this commit due to ubiquity: html, empty, info, make, man, misc, source, unknown
Diffstat (limited to 'kmail')
-rw-r--r--kmail/kmail_config_misc.desktop2
-rw-r--r--kmail/kmheaders.cpp2
-rw-r--r--kmail/kmmimeparttree.cpp4
-rw-r--r--kmail/kmmsgpartdlg.cpp4
-rw-r--r--kmail/searchwindow.cpp2
5 files changed, 7 insertions, 7 deletions
diff --git a/kmail/kmail_config_misc.desktop b/kmail/kmail_config_misc.desktop
index 061d4ed56..a7aea4e57 100644
--- a/kmail/kmail_config_misc.desktop
+++ b/kmail/kmail_config_misc.desktop
@@ -1,5 +1,5 @@
[Desktop Entry]
-Icon=misc
+Icon=application-vnd.tde.misc
Type=Service
X-TDE-ServiceTypes=TDECModule
diff --git a/kmail/kmheaders.cpp b/kmail/kmheaders.cpp
index 77af8e447..3196e6272 100644
--- a/kmail/kmheaders.cpp
+++ b/kmail/kmheaders.cpp
@@ -2401,7 +2401,7 @@ void KMHeaders::contentsMouseMoveEvent( TQMouseEvent* e )
if( count == 1 )
pixmap = TQPixmap( DesktopIcon("message", TDEIcon::SizeSmall) );
else
- pixmap = TQPixmap( DesktopIcon("tdemultiple", TDEIcon::SizeSmall) );
+ pixmap = TQPixmap( DesktopIcon("application-vnd.tde.tdemultiple", TDEIcon::SizeSmall) );
// Calculate hotspot (as in Konqueror)
if( !pixmap.isNull() ) {
diff --git a/kmail/kmmimeparttree.cpp b/kmail/kmmimeparttree.cpp
index 200e77368..4448cec45 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("unknown") );
+ setPixmap( 0, SmallIcon("text-x-katefilelist") );
} else {
KMimeType::Ptr mtp = KMimeType::mimeType( mimetype );
setText( 1, (mtp && !mtp->comment().isEmpty()) ? mtp->comment() : mimetype );
- setPixmap( 0, mtp ? mtp->pixmap( TDEIcon::Small) : SmallIcon("unknown") );
+ setPixmap( 0, mtp ? mtp->pixmap( TDEIcon::Small) : SmallIcon("text-x-katefilelist") );
}
}
diff --git a/kmail/kmmsgpartdlg.cpp b/kmail/kmmsgpartdlg.cpp
index 869ee015c..2a0bd8cbc 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("unknown") );
+ mIcon->setPixmap( DesktopIcon("text-x-katefilelist") );
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("unknown") );
+ mIcon->setPixmap( DesktopIcon("text-x-katefilelist") );
}
diff --git a/kmail/searchwindow.cpp b/kmail/searchwindow.cpp
index d1f370ac0..bc97de049 100644
--- a/kmail/searchwindow.cpp
+++ b/kmail/searchwindow.cpp
@@ -95,7 +95,7 @@ class MatchListView : public TDEListView
if( mailList.count() == 1 )
pixmap = TQPixmap( DesktopIcon("message", TDEIcon::SizeSmall) );
else
- pixmap = TQPixmap( DesktopIcon("tdemultiple", TDEIcon::SizeSmall) );
+ pixmap = TQPixmap( DesktopIcon("application-vnd.tde.tdemultiple", TDEIcon::SizeSmall) );
d->setPixmap( pixmap );
return d;