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 77305032b0
commit 9226d5bf32

@ -38,7 +38,7 @@ KEducaPrefs::~KEducaPrefs(){}
/** Set page general */ /** Set page general */
void KEducaPrefs::setPageGeneral() void KEducaPrefs::setPageGeneral()
{ {
TQVBox *mainFrame = addVBoxPage( i18n("Miscellaneous"), i18n("Various Settings"), DesktopIcon("misc")); TQVBox *mainFrame = addVBoxPage( i18n("Miscellaneous"), i18n("Various Settings"), DesktopIcon("application-vnd.tde.misc"));

@ -108,7 +108,7 @@ TQString ImageExporter::menuEntryName() const
TQString ImageExporter::menuIcon() const TQString ImageExporter::menuIcon() const
{ {
return "image"; return "image-x-generic";
} }
void ImageExporter::run( const KigPart& doc, KigWidget& w ) void ImageExporter::run( const KigPart& doc, KigWidget& w )

@ -80,7 +80,7 @@ TQString LatexExporter::menuEntryName() const
TQString LatexExporter::menuIcon() const TQString LatexExporter::menuIcon() const
{ {
// TODO // TODO
return "tex"; return "text-x-tex";
} }
class LatexExportImpVisitor class LatexExportImpVisitor

@ -53,7 +53,7 @@ TQString SVGExporter::menuEntryName() const
TQString SVGExporter::menuIcon() const TQString SVGExporter::menuIcon() const
{ {
// TODO // TODO
return "vectorgfx"; return "image-svg+xml";
} }
void SVGExporter::run( const KigPart& part, KigWidget& w ) void SVGExporter::run( const KigPart& part, KigWidget& w )

@ -31,8 +31,8 @@ struct script_prop
static const script_prop scripts_properties[] = static const script_prop scripts_properties[] =
{ {
{ I18N_NOOP( "Now fill in the code:" ), "shellscript", "" }, { I18N_NOOP( "Now fill in the code:" ), "text-x-script", "" },
{ I18N_NOOP( "Now fill in the Python code:" ), "source_py", "Python-Kig" } { I18N_NOOP( "Now fill in the Python code:" ), "text-x-python", "Python-Kig" }
}; };
TQString ScriptType::fillCodeStatement( ScriptType::Type type ) TQString ScriptType::fillCodeStatement( ScriptType::Type type )

Loading…
Cancel
Save