summaryrefslogtreecommitdiffstats
path: root/tdefilereplace
diff options
context:
space:
mode:
Diffstat (limited to 'tdefilereplace')
-rw-r--r--tdefilereplace/tdefilereplacelib.cpp94
1 files changed, 47 insertions, 47 deletions
diff --git a/tdefilereplace/tdefilereplacelib.cpp b/tdefilereplace/tdefilereplacelib.cpp
index 3b73cd40..cf9b5788 100644
--- a/tdefilereplace/tdefilereplacelib.cpp
+++ b/tdefilereplace/tdefilereplacelib.cpp
@@ -304,48 +304,48 @@ void TDEFileReplaceLib::setIconForFileEntry(TQListViewItem* item, TQString path)
KeyValueMap extensionMap;
- extensionMap["a"] = "binary";
- extensionMap["am"] = "shellscript";
- extensionMap["bz"] = "zip";
- extensionMap["bz2"] = "zip";
- extensionMap["c"] = "source_c";
- extensionMap["cc"] = "source_cpp";
- extensionMap["cpp"] = "source_cpp";
+ extensionMap["a"] = "application-octet-stream";
+ extensionMap["am"] = "text-x-script";
+ extensionMap["bz"] = "application-vnd.tde.overlay.zip";
+ extensionMap["bz2"] = "application-vnd.tde.overlay.zip";
+ extensionMap["c"] = "text-x-csrc";
+ extensionMap["cc"] = "text-x-c++src";
+ extensionMap["cpp"] = "text-x-c++src";
extensionMap["eml"] = "message";
- extensionMap["exe"] = "exec_wine";
- extensionMap["gz"] = "zip";
- extensionMap["h"] = "source_h";
- extensionMap["htm"] = "html";
- extensionMap["html"] = "html";
- extensionMap["in"] = "shellscript";
- extensionMap["java"] = "source_java";
- extensionMap["jpg"] = "image";
- extensionMap["kfr"] = "html";
- extensionMap["kmdr"] = "widget_doc";
- extensionMap["kwd"] = "kword_kwd";
- extensionMap["log"] = "log";
- extensionMap["moc"] = "source_moc";
- extensionMap["mp3"] = "sound";
- extensionMap["o"] = "source_o";
- extensionMap["pdf"] = "pdf";
- extensionMap["php"] = "source_php";
- extensionMap["py"] = "source_py";
- extensionMap["pl"] = "source_pl";
- extensionMap["p"] = "source_p";
- extensionMap["ps"] = "postscript";
- extensionMap["png"] = "image";
- extensionMap["sa"] = "binary";
- extensionMap["sh"] = "shellscript";
- extensionMap["so"] = "binary";
- extensionMap["tar"] = "tar";
- extensionMap["tex"] = "tex";
- extensionMap["tgz"] = "tgz";
- extensionMap["txt"] = "txt";
- extensionMap["ui"] = "widget_doc";
+ extensionMap["exe"] = "application-x-mswinurl";
+ extensionMap["gz"] = "application-vnd.tde.overlay.zip";
+ extensionMap["h"] = "text-x-hsrc";
+ extensionMap["htm"] = "text-html";
+ extensionMap["html"] = "text-html";
+ extensionMap["in"] = "text-x-script";
+ extensionMap["java"] = "text-x-java";
+ extensionMap["jpg"] = "image-x-generic";
+ extensionMap["kfr"] = "text-html";
+ extensionMap["kmdr"] = "application-x-designer";
+ extensionMap["kwd"] = "x-office-document";
+ extensionMap["log"] = "text-x-log";
+ extensionMap["moc"] = "text-x-mocsrc";
+ extensionMap["mp3"] = "audio-x-generic";
+ extensionMap["o"] = "text-x-osrc";
+ extensionMap["pdf"] = "application-pdf";
+ extensionMap["php"] = "text-x-php";
+ extensionMap["py"] = "text-x-python";
+ extensionMap["pl"] = "text-x-perl";
+ extensionMap["p"] = "text-x-psrc";
+ extensionMap["ps"] = "application-postscript";
+ extensionMap["png"] = "image-x-generic";
+ extensionMap["sa"] = "application-octet-stream";
+ extensionMap["sh"] = "text-x-script";
+ extensionMap["so"] = "application-octet-stream";
+ extensionMap["tar"] = "application-x-tar";
+ extensionMap["tex"] = "text-x-tex";
+ extensionMap["tgz"] = "application-x-tarz";
+ extensionMap["txt"] = "text-plain";
+ extensionMap["ui"] = "application-x-designer";
extensionMap["uml"] = "umbrellofile";
- extensionMap["wav"] = "sound";
- extensionMap["xml"] = "html";
- extensionMap["xpm"] = "image";
+ extensionMap["wav"] = "audio-x-generic";
+ extensionMap["xml"] = "text-html";
+ extensionMap["xpm"] = "image-x-generic";
KeyValueMap::Iterator itExtensionMap;
@@ -360,13 +360,13 @@ void TDEFileReplaceLib::setIconForFileEntry(TQListViewItem* item, TQString path)
KeyValueMap baseNameMap;
- baseNameMap["configure"] = "shellscript";
- baseNameMap["core"] = "core";
- baseNameMap["makefile"] = "make";
- baseNameMap["readme"] = "readme";
- baseNameMap["README"] = "readme";
- baseNameMap["Readme"] = "readme";
- baseNameMap["TODO"] = "txt";
+ baseNameMap["configure"] = "text-x-script";
+ baseNameMap["core"] = "application-x-core";
+ baseNameMap["makefile"] = "text-x-makefile";
+ baseNameMap["readme"] = "text-x-readme";
+ baseNameMap["README"] = "text-x-readme";
+ baseNameMap["Readme"] = "text-x-readme";
+ baseNameMap["TODO"] = "text-plain";
KeyValueMap::Iterator itBaseNameMap;