summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--keduca/keduca/keducaprefs.cpp2
-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
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 )