summaryrefslogtreecommitdiffstats
path: root/kig
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-22 01:27:29 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-22 01:27:29 -0500
commit9226d5bf328f1a1a5780c35eece8f8238f8d76ef (patch)
tree1c7ecf1797799e6cd63fc4c476134b026bc5fe7f /kig
parent77305032b02763f2549b5c804cae55722905d9f8 (diff)
downloadtdeedu-9226d5bf328f1a1a5780c35eece8f8238f8d76ef.tar.gz
tdeedu-9226d5bf328f1a1a5780c35eece8f8238f8d76ef.zip
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
Diffstat (limited to 'kig')
-rw-r--r--kig/filters/exporter.cc2
-rw-r--r--kig/filters/latexexporter.cc2
-rw-r--r--kig/filters/svgexporter.cc2
-rw-r--r--kig/scripting/script-common.cc4
4 files changed, 5 insertions, 5 deletions
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 )