From 50be8112bdb941ec5cc0f86bac1b0ab14ee2cf79 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 22 Oct 2014 01:27:30 -0500 Subject: 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 --- buildtools/autotools/autolistviewitems.cpp | 4 ++-- buildtools/autotools/kdevautoproject.desktop | 2 +- buildtools/autotools/kdevtdeautoproject.desktop | 2 +- buildtools/autotools/tdefilednddetailview.cpp | 2 +- buildtools/autotools/tdefiledndiconview.cpp | 2 +- buildtools/qmake/qmakescopeitem.cpp | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) (limited to 'buildtools') diff --git a/buildtools/autotools/autolistviewitems.cpp b/buildtools/autotools/autolistviewitems.cpp index 971a2dbe..e69c12b1 100644 --- a/buildtools/autotools/autolistviewitems.cpp +++ b/buildtools/autotools/autolistviewitems.cpp @@ -102,7 +102,7 @@ TargetItem::TargetItem( TQListView *lv, bool group, const TQString &text ) : ProjectItem( Target, lv, text ) { sources.setAutoDelete( true ); - setPixmap( 0, group ? SmallIcon( "tar" ) : SmallIcon( "binary" ) ); + setPixmap( 0, group ? SmallIcon( "application-x-tar" ) : SmallIcon( "application-octet-stream" ) ); } @@ -115,7 +115,7 @@ FileItem::FileItem( TQListView *lv, const TQString &text, bool set_is_subst ) { if(!is_subst) { - setPixmap( 0, SmallIcon( "document" ) ); + setPixmap( 0, SmallIcon( "text-x-generic" ) ); } else { diff --git a/buildtools/autotools/kdevautoproject.desktop b/buildtools/autotools/kdevautoproject.desktop index 043a6c5d..dde9db46 100644 --- a/buildtools/autotools/kdevautoproject.desktop +++ b/buildtools/autotools/kdevautoproject.desktop @@ -91,7 +91,7 @@ GenericName[uz@cyrillic]=Automake лойиҳаси GenericName[zh_CN]=Automake 工程 GenericName[zh_TW]=Automake 專案 X-TDE-ServiceTypes=TDevelop/Project -Icon=make +Icon=text-x-text-x-makefile X-TDE-Library=libkdevautoproject X-TDevelop-Version=5 X-TDevelop-Args= diff --git a/buildtools/autotools/kdevtdeautoproject.desktop b/buildtools/autotools/kdevtdeautoproject.desktop index 18d5364b..128eb218 100644 --- a/buildtools/autotools/kdevtdeautoproject.desktop +++ b/buildtools/autotools/kdevtdeautoproject.desktop @@ -86,7 +86,7 @@ GenericName[tr]=TDE Automake Projesi GenericName[zh_CN]=TDE Automake 工程 GenericName[zh_TW]=TDE Automake 專案 X-TDE-ServiceTypes=TDevelop/Project -Icon=make +Icon=text-x-text-x-makefile X-TDE-Library=libkdevautoproject X-TDevelop-Version=5 X-TDevelop-Args=kde diff --git a/buildtools/autotools/tdefilednddetailview.cpp b/buildtools/autotools/tdefilednddetailview.cpp index 74492577..c4b4f504 100644 --- a/buildtools/autotools/tdefilednddetailview.cpp +++ b/buildtools/autotools/tdefilednddetailview.cpp @@ -160,7 +160,7 @@ void KFileDnDDetailView::startDrag(){ } TQPixmap pixmap; if( urls.count() > 1 ){ - pixmap = DesktopIcon( "tdemultiple", 16 ); + pixmap = DesktopIcon( "application-vnd.tde.tdemultiple", 16 ); } if( pixmap.isNull() ) pixmap = currentFileItem()->pixmap( 16 ); diff --git a/buildtools/autotools/tdefiledndiconview.cpp b/buildtools/autotools/tdefiledndiconview.cpp index d192b3b0..f1f9afae 100644 --- a/buildtools/autotools/tdefiledndiconview.cpp +++ b/buildtools/autotools/tdefiledndiconview.cpp @@ -149,7 +149,7 @@ TQDragObject* KFileDnDIconView::dragObject() { } TQPixmap pixmap; if( urls.count() > 1 ) - pixmap = DesktopIcon( "tdemultiple", iconSize() ); + pixmap = DesktopIcon( "application-vnd.tde.tdemultiple", iconSize() ); if( pixmap.isNull() ) pixmap = currentFileItem()->pixmap( iconSize() ); TQPoint hotspot; diff --git a/buildtools/qmake/qmakescopeitem.cpp b/buildtools/qmake/qmakescopeitem.cpp index 70e9a6ba..496adad8 100644 --- a/buildtools/qmake/qmakescopeitem.cpp +++ b/buildtools/qmake/qmakescopeitem.cpp @@ -50,7 +50,7 @@ GroupItem::GroupItem( TQListView *lv, GroupType type, const TQString &text, QMak this->owner = spitem; groupType = type; // files.setAutoDelete( true ); - setPixmap( 0, SmallIcon( "tar" ) ); + setPixmap( 0, SmallIcon( "application-x-tar" ) ); } GroupItem::GroupType GroupItem::groupTypeForExtension( const TQString &ext ) @@ -298,7 +298,7 @@ FileItem::FileItem( TQListView *lv, const TQString &text ) // if excluded is set the file is excluded in the subproject/project. // by default excluded is set to false, thus file is included // excluded = exclude; - setPixmap( 0, SmallIcon( "document" ) ); + setPixmap( 0, SmallIcon( "text-x-generic" ) ); } -- cgit v1.2.1