Branch: master

da2a999d 2014-10-22 01:27:26 Timothy Pearson
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
M ksquirrel/ksquirrelpart/ksquirrelpart.cpp
M ksquirrel/ksquirrelpart/sq_iconloader.cpp
M ksquirrel/mime/ljpeg.desktop
M ksquirrel/mime/x-avs.desktop
M ksquirrel/mime/x-cut.desktop
M ksquirrel/mime/x-dicom.desktop
M ksquirrel/mime/x-dxf.desktop
M ksquirrel/mime/x-iff.desktop
M ksquirrel/mime/x-jbig.desktop
M ksquirrel/mime/x-koala.desktop
M ksquirrel/mime/x-leaf.desktop
M ksquirrel/mime/x-lif.desktop
M ksquirrel/mime/x-mac.desktop
M ksquirrel/mime/x-mdl.desktop
M ksquirrel/mime/x-msp.desktop
M ksquirrel/mime/x-mtv.desktop
M ksquirrel/mime/x-neo.desktop
M ksquirrel/mime/x-pi1.desktop
M ksquirrel/mime/x-pi3.desktop
M ksquirrel/mime/x-pict.desktop
M ksquirrel/mime/x-pix.desktop
M ksquirrel/mime/x-pxr.desktop
M ksquirrel/mime/x-ras.desktop
M ksquirrel/mime/x-rawrgb.desktop
M ksquirrel/mime/x-sct.desktop
M ksquirrel/mime/x-sun.desktop
M ksquirrel/mime/x-utah.desktop
M ksquirrel/mime/x-wal.desktop
M ksquirrel/mime/x-wbmp.desktop
M ksquirrel/mime/x-xim.desktop
M ksquirrel/mime/x-xwd.desktop
M ksquirrel/sidebar/sq_categorybrowsermenu.cpp
M ksquirrel/sidebar/sq_previewwidget.cpp
M ksquirrel/sq_dragprovider.cpp
M ksquirrel/sq_iconloader.cpp
diff --git a/ksquirrel/ksquirrelpart/ksquirrelpart.cpp b/ksquirrel/ksquirrelpart/ksquirrelpart.cpp
index 27864ed..4971ea7 100644
--- a/ksquirrel/ksquirrelpart/ksquirrelpart.cpp
+++ b/ksquirrel/ksquirrelpart/ksquirrelpart.cpp
@@ -87,7 +87,7 @@
     new TDEAction(i18n("Zoom -"), "zoom-out", 0, a, TQT_SLOT(activate()), actionCollection(), "ksquirrelpart zoom out");
 
     a = gl->actionCollection()->action(TQString("action_%1").arg(TQt::Key_P));
-    new TDEAction(i18n("Properties"), "image",  0, a, TQT_SLOT(activate()), actionCollection(), "ksquirrelpart properties");
+    new TDEAction(i18n("Properties"), "image-x-generic",  0, a, TQT_SLOT(activate()), actionCollection(), "ksquirrelpart properties");
 
     a = gl->actionCollection()->action(TQString("action_%1").arg(TQt::Key_R));
     new TDEAction(i18n("Normalize"), "rebuild",  0, a, TQT_SLOT(activate()), actionCollection(), "ksquirrelpart normalize");
diff --git a/ksquirrel/ksquirrelpart/sq_iconloader.cpp b/ksquirrel/ksquirrelpart/sq_iconloader.cpp
index c8c9ec8..b9596b6 100644
--- a/ksquirrel/ksquirrelpart/sq_iconloader.cpp
+++ b/ksquirrel/ksquirrelpart/sq_iconloader.cpp
@@ -61,7 +61,7 @@
         else if(name == "edit" && size == 32)
             p = pixmap_edit;
         else
-            p = TDEGlobal::iconLoader()->loadIcon("unknown", group, size);
+            p = TDEGlobal::iconLoader()->loadIcon(""text-x-katefilelist", group, size);
     }
 
     return p;
diff --git a/ksquirrel/mime/ljpeg.desktop b/ksquirrel/mime/ljpeg.desktop
index 671d4c2..02b2f41 100644
--- a/ksquirrel/mime/ljpeg.desktop
+++ b/ksquirrel/mime/ljpeg.desktop
@@ -2,6 +2,6 @@
 Encoding=UTF-8
 Type=MimeType
 MimeType=image/ljpeg
-Icon=image
+Icon=image-x-generic
 Patterns=*.ljpg;*.LJPG;*.ljpeg;*.LJPEG;
 Comment=Lossless JPEG
diff --git a/ksquirrel/mime/x-avs.desktop b/ksquirrel/mime/x-avs.desktop
index 99a6b11..90540f4 100644
--- a/ksquirrel/mime/x-avs.desktop
+++ b/ksquirrel/mime/x-avs.desktop
@@ -2,6 +2,6 @@
 Encoding=UTF-8
 Type=MimeType
 MimeType=image/x-avs
-Icon=image
+Icon=image-x-generic
 Patterns=*.x;*.X;
 Comment=AVS X image
diff --git a/ksquirrel/mime/x-cut.desktop b/ksquirrel/mime/x-cut.desktop
index 6260eb4..fae61c6 100644
--- a/ksquirrel/mime/x-cut.desktop
+++ b/ksquirrel/mime/x-cut.desktop
@@ -2,6 +2,6 @@
 Encoding=UTF-8
 Type=MimeType
 MimeType=image/x-cut
-Icon=image
+Icon=image-x-generic
 Patterns=*.cut;*.CUT;
 Comment=Dr. Halo CUT
diff --git a/ksquirrel/mime/x-dicom.desktop b/ksquirrel/mime/x-dicom.desktop
index 3323df0..1482401 100644
--- a/ksquirrel/mime/x-dicom.desktop
+++ b/ksquirrel/mime/x-dicom.desktop
@@ -2,6 +2,6 @@
 Encoding=UTF-8
 Type=MimeType
 MimeType=image/x-dicom
-Icon=image
+Icon=image-x-generic
 Patterns=*.dcm;*.DCM;*.dicom;*.DICOM
 Comment=DICOM
diff --git a/ksquirrel/mime/x-dxf.desktop b/ksquirrel/mime/x-dxf.desktop
index 329ff12..9861c0b 100644
--- a/ksquirrel/mime/x-dxf.desktop
+++ b/ksquirrel/mime/x-dxf.desktop
@@ -2,6 +2,6 @@
 Encoding=UTF-8
 Type=MimeType
 MimeType=image/x-dxf
-Icon=image
+Icon=image-x-generic
 Patterns=*.dxf;*.DXF;
 Comment=AutoCAD/QCAD Drawing
diff --git a/ksquirrel/mime/x-iff.desktop b/ksquirrel/mime/x-iff.desktop
index 9cca473..8c28ae0 100644
--- a/ksquirrel/mime/x-iff.desktop
+++ b/ksquirrel/mime/x-iff.desktop
@@ -2,6 +2,6 @@
 Encoding=UTF-8
 Type=MimeType
 MimeType=image/x-iff
-Icon=image
+Icon=image-x-generic
 Patterns=*.iff;*.IFF;*.ilbm;*.ILBM;*.lbm;*.LBM;
 Comment=Interchange File Format
diff --git a/ksquirrel/mime/x-jbig.desktop b/ksquirrel/mime/x-jbig.desktop
index 45f06dd..6630ce5 100644
--- a/ksquirrel/mime/x-jbig.desktop
+++ b/ksquirrel/mime/x-jbig.desktop
@@ -2,6 +2,6 @@
 Encoding=UTF-8
 Type=MimeType
 MimeType=image/x-jbig
-Icon=image
+Icon=image-x-generic
 Patterns=*.jbg;*.JBG;*.jbig;*.JBIG;
 Comment=JBIG
diff --git a/ksquirrel/mime/x-koala.desktop b/ksquirrel/mime/x-koala.desktop
index c95b300..0fba0e0 100644
--- a/ksquirrel/mime/x-koala.desktop
+++ b/ksquirrel/mime/x-koala.desktop
@@ -2,6 +2,6 @@
 Encoding=UTF-8
 Type=MimeType
 MimeType=image/x-koala
-Icon=image
+Icon=image-x-generic
 Patterns=*.koa;*.KOA;*.kla;*.KLA
 Comment=Commodore 64 Koala
diff --git a/ksquirrel/mime/x-leaf.desktop b/ksquirrel/mime/x-leaf.desktop
index 9d68b66..0bbe3f1 100644
--- a/ksquirrel/mime/x-leaf.desktop
+++ b/ksquirrel/mime/x-leaf.desktop
@@ -2,6 +2,6 @@
 Encoding=UTF-8
 Type=MimeType
 MimeType=image/x-leaf
-Icon=image
+Icon=image-x-generic
 Patterns=*.leaf;*.LEAF;
 Comment=ILEAF Image
diff --git a/ksquirrel/mime/x-lif.desktop b/ksquirrel/mime/x-lif.desktop
index 705a8cc..1293c99 100644
--- a/ksquirrel/mime/x-lif.desktop
+++ b/ksquirrel/mime/x-lif.desktop
@@ -2,6 +2,6 @@
 Encoding=UTF-8
 Type=MimeType
 MimeType=image/x-lif
-Icon=image
+Icon=image-x-generic
 Patterns=*.lif;*.LIF;
 Comment=Homeworld LIF
diff --git a/ksquirrel/mime/x-mac.desktop b/ksquirrel/mime/x-mac.desktop
index 52fc8c0..ae31899 100644
--- a/ksquirrel/mime/x-mac.desktop
+++ b/ksquirrel/mime/x-mac.desktop
@@ -2,6 +2,6 @@
 Encoding=UTF-8
 Type=MimeType
 MimeType=image/x-mac
-Icon=image
+Icon=image-x-generic
 Patterns=*.mac;*.MAC;
 Comment=Macintosh Paint
diff --git a/ksquirrel/mime/x-mdl.desktop b/ksquirrel/mime/x-mdl.desktop
index 876b873..5b10c57 100644
--- a/ksquirrel/mime/x-mdl.desktop
+++ b/ksquirrel/mime/x-mdl.desktop
@@ -2,6 +2,6 @@
 Encoding=UTF-8
 Type=MimeType
 MimeType=image/x-mdl
-Icon=image
+Icon=image-x-generic
 Patterns=*.mdl;*.MDL;
 Comment=HalfLife Model
diff --git a/ksquirrel/mime/x-msp.desktop b/ksquirrel/mime/x-msp.desktop
index c7e5bd6..4eae799 100644
--- a/ksquirrel/mime/x-msp.desktop
+++ b/ksquirrel/mime/x-msp.desktop
@@ -2,6 +2,6 @@
 Encoding=UTF-8
 Type=MimeType
 MimeType=image/x-msp
-Icon=image
+Icon=image-x-generic
 Patterns=*.msp;*.MSP;
 Comment=Microsoft Paint
diff --git a/ksquirrel/mime/x-mtv.desktop b/ksquirrel/mime/x-mtv.desktop
index 85de528..5ff5217 100644
--- a/ksquirrel/mime/x-mtv.desktop
+++ b/ksquirrel/mime/x-mtv.desktop
@@ -2,6 +2,6 @@
 Encoding=UTF-8
 Type=MimeType
 MimeType=image/x-mtv
-Icon=image
+Icon=image-x-generic
 Patterns=*.mtv;*.MTV;
 Comment=MTV Ray Tracer
diff --git a/ksquirrel/mime/x-neo.desktop b/ksquirrel/mime/x-neo.desktop
index 457e1d5..358d541 100644
--- a/ksquirrel/mime/x-neo.desktop
+++ b/ksquirrel/mime/x-neo.desktop
@@ -2,6 +2,6 @@
 Encoding=UTF-8
 Type=MimeType
 MimeType=image/x-neo
-Icon=image
+Icon=image-x-generic
 Patterns=*.neo;*.NEO;
 Comment=Neochrome NEO
diff --git a/ksquirrel/mime/x-pi1.desktop b/ksquirrel/mime/x-pi1.desktop
index 812a22b..208be05 100644
--- a/ksquirrel/mime/x-pi1.desktop
+++ b/ksquirrel/mime/x-pi1.desktop
@@ -2,6 +2,6 @@
 Encoding=UTF-8
 Type=MimeType
 MimeType=image/x-pi1
-Icon=image
+Icon=image-x-generic
 Patterns=*.pi1;*.PI1;
 Comment=Degas PI1
diff --git a/ksquirrel/mime/x-pi3.desktop b/ksquirrel/mime/x-pi3.desktop
index 20edd11..16505d9 100644
--- a/ksquirrel/mime/x-pi3.desktop
+++ b/ksquirrel/mime/x-pi3.desktop
@@ -2,6 +2,6 @@
 Encoding=UTF-8
 Type=MimeType
 MimeType=image/x-pi3
-Icon=image
+Icon=image-x-generic
 Patterns=*.pi3;*.PI3;
 Comment=Degas PI3
diff --git a/ksquirrel/mime/x-pict.desktop b/ksquirrel/mime/x-pict.desktop
index 0d49384..32be22d 100644
--- a/ksquirrel/mime/x-pict.desktop
+++ b/ksquirrel/mime/x-pict.desktop
@@ -2,6 +2,6 @@
 Encoding=UTF-8
 Type=MimeType
 MimeType=image/x-pict
-Icon=image
+Icon=image-x-generic
 Patterns=*.pict;*.PICT;
 Comment=Macintosh PICT
diff --git a/ksquirrel/mime/x-pix.desktop b/ksquirrel/mime/x-pix.desktop
index 704c241..6ba2637 100644
--- a/ksquirrel/mime/x-pix.desktop
+++ b/ksquirrel/mime/x-pix.desktop
@@ -2,6 +2,6 @@
 Encoding=UTF-8
 Type=MimeType
 MimeType=image/x-pix
 ** Diff limit reached (max: 250 lines) **