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

pull/1/head
Timothy Pearson 10 years ago
parent 4ad72f6575
commit da2a999dfb

@ -87,7 +87,7 @@ KSquirrelPart::KSquirrelPart(TQWidget *parentWidget, const char *,
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");

@ -61,7 +61,7 @@ TQPixmap SQ_IconLoader::loadIcon(const TQString& name, TDEIcon::Group group, int
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;

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -2,6 +2,6 @@
Encoding=UTF-8
Type=MimeType
MimeType=image/x-pix
Icon=image
Icon=image-x-generic
Patterns=*.pix;*.PIX;
Comment=Irix PIX Image

@ -2,6 +2,6 @@
Encoding=UTF-8
Type=MimeType
MimeType=image/x-pxr
Icon=image
Icon=image-x-generic
Patterns=*.pxr;*.PXR;
Comment=Pxrar format

@ -2,6 +2,6 @@
Encoding=UTF-8
Type=MimeType
MimeType=image/x-ras
Icon=image
Icon=image-x-generic
Patterns=*.ras;*.RAS;
Comment=SUN Raster

@ -2,6 +2,6 @@
Encoding=UTF-8
Type=MimeType
MimeType=image/x-rawrgb
Icon=image
Icon=image-x-generic
Patterns=*.rawrgb;*.RAWRGB;
Comment=KSquirrel RAWRGB

@ -2,6 +2,6 @@
Encoding=UTF-8
Type=MimeType
MimeType=image/x-sct
Icon=image
Icon=image-x-generic
Patterns=*.sct;*.SCT;*.ct;*.CT;
Comment=Scitex CT

@ -2,6 +2,6 @@
Encoding=UTF-8
Type=MimeType
MimeType=image/x-sun
Icon=image
Icon=image-x-generic
Patterns=*.sun;*.SUN;
Comment=SUN Icon

@ -2,6 +2,6 @@
Encoding=UTF-8
Type=MimeType
MimeType=image/x-utah
Icon=image
Icon=image-x-generic
Patterns=*.rle;*.RLE;
Comment=UTAH RLE

@ -2,6 +2,6 @@
Encoding=UTF-8
Type=MimeType
MimeType=image/x-wal
Icon=image
Icon=image-x-generic
Patterns=*.wal;*.WAL;
Comment=Quake2 texture

@ -2,6 +2,6 @@
Encoding=UTF-8
Type=MimeType
MimeType=image/x-wbmp
Icon=image
Icon=image-x-generic
Patterns=*.wbmp;*.WBMP;
Comment=Wireless Application Protocol Bitmap

@ -2,6 +2,6 @@
Encoding=UTF-8
Type=MimeType
MimeType=image/x-xim
Icon=image
Icon=image-x-generic
Patterns=*.xim;*.XIM;
Comment=X Image

@ -2,6 +2,6 @@
Encoding=UTF-8
Type=MimeType
MimeType=image/x-xwd
Icon=image
Icon=image-x-generic
Patterns=*.xwd;*.XWD;
Comment=X Window Dump

@ -508,12 +508,12 @@ void SQ_CategoryBrowserMenu::initIconMap()
_icons = new TQMap<TQString, TQPixmap>;
_icons->insert("folder", SmallIcon("folder"));
_icons->insert("unknown", SmallIcon("mime_empty"));
_icons->insert("unknown", SmallIcon("text-x-katefilelist"));
_icons->insert("folder_open", SmallIcon("folder_open"));
_icons->insert("kdisknav", SmallIcon("kdisknav"));
_icons->insert("kfm", SmallIcon("kfm"));
_icons->insert("terminal", SmallIcon("terminal"));
_icons->insert("txt", SmallIcon("txt"));
_icons->insert("txt", SmallIcon("text-plain"));
_icons->insert("exec", SmallIcon("exec"));
_icons->insert("chardevice", SmallIcon("chardevice"));
}

@ -70,7 +70,7 @@ SQ_PreviewWidget::SQ_PreviewWidget(TQWidget *parent, const char *name)
popup->insertSeparator();
popup->insertItem(i18n("Execute")+"\tEnter", TQT_TQOBJECT(this), TQT_SIGNAL(execute()));
multi_pix = SQ_IconLoader::instance()->loadIcon("tdemultiple", TDEIcon::Desktop, TDEIcon::SizeSmall);
multi_pix = SQ_IconLoader::instance()->loadIcon(""application-vnd.tde.tdemultiple", TDEIcon::Desktop, TDEIcon::SizeSmall);
setMinimumHeight(20);
setFocusPolicy(TQ_WheelFocus);

@ -122,7 +122,7 @@ void SQ_DragProvider::start()
TQPixmap dragIcon;
if(urls.count() > 1)
dragIcon = SQ_IconLoader::instance()->loadIcon("tdemultiple", TDEIcon::Desktop, TDEIcon::SizeSmall);
dragIcon = SQ_IconLoader::instance()->loadIcon(""application-vnd.tde.tdemultiple", TDEIcon::Desktop, TDEIcon::SizeSmall);
else
dragIcon = first->pixmap(TDEIcon::SizeSmall);

@ -61,7 +61,7 @@ TQPixmap SQ_IconLoader::loadIcon(const TQString& name, TDEIcon::Group group, int
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;

Loading…
Cancel
Save