From 9226d5bf328f1a1a5780c35eece8f8238f8d76ef Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 22 Oct 2014 01:27:29 -0500 Subject: [PATCH] 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 --- keduca/keduca/keducaprefs.cpp | 2 +- kig/filters/exporter.cc | 2 +- kig/filters/latexexporter.cc | 2 +- kig/filters/svgexporter.cc | 2 +- kig/scripting/script-common.cc | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/keduca/keduca/keducaprefs.cpp b/keduca/keduca/keducaprefs.cpp index c8f3ce0d..9abbea6a 100644 --- a/keduca/keduca/keducaprefs.cpp +++ b/keduca/keduca/keducaprefs.cpp @@ -38,7 +38,7 @@ KEducaPrefs::~KEducaPrefs(){} /** Set page general */ 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")); diff --git a/kig/filters/exporter.cc b/kig/filters/exporter.cc index 90cef343..32b25f01 100644 --- a/kig/filters/exporter.cc +++ b/kig/filters/exporter.cc @@ -108,7 +108,7 @@ TQString ImageExporter::menuEntryName() const TQString ImageExporter::menuIcon() const { - return "image"; + return "image-x-generic"; } void ImageExporter::run( const KigPart& doc, KigWidget& w ) diff --git a/kig/filters/latexexporter.cc b/kig/filters/latexexporter.cc index 3db2870b..622a1a49 100644 --- a/kig/filters/latexexporter.cc +++ b/kig/filters/latexexporter.cc @@ -80,7 +80,7 @@ TQString LatexExporter::menuEntryName() const TQString LatexExporter::menuIcon() const { // TODO - return "tex"; + return "text-x-tex"; } class LatexExportImpVisitor diff --git a/kig/filters/svgexporter.cc b/kig/filters/svgexporter.cc index 7d724b31..2fd53756 100644 --- a/kig/filters/svgexporter.cc +++ b/kig/filters/svgexporter.cc @@ -53,7 +53,7 @@ TQString SVGExporter::menuEntryName() const TQString SVGExporter::menuIcon() const { // TODO - return "vectorgfx"; + return "image-svg+xml"; } void SVGExporter::run( const KigPart& part, KigWidget& w ) diff --git a/kig/scripting/script-common.cc b/kig/scripting/script-common.cc index e799fac0..e2c15786 100644 --- a/kig/scripting/script-common.cc +++ b/kig/scripting/script-common.cc @@ -31,8 +31,8 @@ struct script_prop static const script_prop scripts_properties[] = { - { I18N_NOOP( "Now fill in the code:" ), "shellscript", "" }, - { I18N_NOOP( "Now fill in the Python code:" ), "source_py", "Python-Kig" } + { I18N_NOOP( "Now fill in the code:" ), "text-x-script", "" }, + { I18N_NOOP( "Now fill in the Python code:" ), "text-x-python", "Python-Kig" } }; TQString ScriptType::fillCodeStatement( ScriptType::Type type )