Branch: master

9226d5bf 2014-10-22 01:27:29 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 keduca/keduca/keducaprefs.cpp
M kig/filters/exporter.cc
M kig/filters/latexexporter.cc
M kig/filters/svgexporter.cc
M kig/scripting/script-common.cc
diff --git a/keduca/keduca/keducaprefs.cpp b/keduca/keduca/keducaprefs.cpp
index c8f3ce0..9abbea6 100644
--- a/keduca/keduca/keducaprefs.cpp
+++ b/keduca/keduca/keducaprefs.cpp
@@ -38,7 +38,7 @@
 /** 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 90cef34..32b25f0 100644
--- a/kig/filters/exporter.cc
+++ b/kig/filters/exporter.cc
@@ -108,7 +108,7 @@
 
 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 3db2870..622a1a4 100644
--- a/kig/filters/latexexporter.cc
+++ b/kig/filters/latexexporter.cc
@@ -80,7 +80,7 @@
 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 7d724b3..2fd5375 100644
--- a/kig/filters/svgexporter.cc
+++ b/kig/filters/svgexporter.cc
@@ -53,7 +53,7 @@
 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 e799fac..e2c1578 100644
--- a/kig/scripting/script-common.cc
+++ b/kig/scripting/script-common.cc
@@ -31,8 +31,8 @@
 
 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 )