summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-08 00:44:44 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-08 00:44:44 -0500
commita44c9249300c96da86fa79cae17bd88789e75399 (patch)
tree1a69d4f3315120a600ea484bec5802769219b6c5
parentc359057caabdb7740b46f0e45eafaa38d4f40d54 (diff)
downloadtdelibs-a44c9249300c96da86fa79cae17bd88789e75399.tar.gz
tdelibs-a44c9249300c96da86fa79cae17bd88789e75399.zip
Update mimetypes in Kate plugins to match output of libmagic
This relates to Bug 2148
-rw-r--r--kate/data/bash.xml2
-rw-r--r--kate/data/katefiletyperc2
-rw-r--r--kate/data/katepart.desktop2
-rw-r--r--kate/data/zsh.xml2
4 files changed, 4 insertions, 4 deletions
diff --git a/kate/data/bash.xml b/kate/data/bash.xml
index 3326a31ee..830e00957 100644
--- a/kate/data/bash.xml
+++ b/kate/data/bash.xml
@@ -8,7 +8,7 @@
<!ENTITY noword "(?![\w$+-])"> <!-- no word, $, + or - following -->
<!ENTITY pathpart "([\w_@.&#37;*?+-]|\\ )"> <!-- valid character in a file name -->
]>
-<language name="Bash" version="2.17-1" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
+<language name="Bash" version="2.17-1" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile" mimetype="application/x-shellscript;text/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
<!-- (c) 2004 by Wilbert Berendsen (wilbert@kde.nl)
Changes by Matthew Woehlke (mw_triad@users.sourceforge.net)
diff --git a/kate/data/katefiletyperc b/kate/data/katefiletyperc
index c9490d23b..7c37ee0f8 100644
--- a/kate/data/katefiletyperc
+++ b/kate/data/katefiletyperc
@@ -20,7 +20,7 @@ Variables=kate: space-indent off; indent-width 8; replace-tabs off; replace-tabs
Wildcards=*Makefile*;*makefile*
[Python]
-Mimetypes=application/x-python
+Mimetypes=application/x-python;text/x-python
Priority=1
Section=Scripts
Variables=kate: indent-mode python;
diff --git a/kate/data/katepart.desktop b/kate/data/katepart.desktop
index 2439dbc83..3fa547929 100644
--- a/kate/data/katepart.desktop
+++ b/kate/data/katepart.desktop
@@ -87,4 +87,4 @@ Icon=kate
ServiceTypes=KParts/ReadOnlyPart,Browser/View,KParts/ReadWritePart,KTextEditor/Editor,KTextEditor/Document
Type=Service
InitialPreference=8
-MimeType=text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-diff;text/x-adasrc;text/x-chdr;text/x-csrc;text/css;application/x-desktop;text/x-diff;text/x-fortran;text/html;text/x-java;text/x-tex;text/x-makefile;text/x-objcsrc;text/x-pascal;application/x-perl;application/x-perl-module;application/x-php;text/vnd.wap.wml;application/x-python;application/x-ruby;text/sgml;text/xml;model/vrml
+MimeType=text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-shellscript;text/x-diff;text/x-adasrc;text/x-chdr;text/x-csrc;text/css;application/x-desktop;text/x-diff;text/x-fortran;text/html;text/x-java;text/x-tex;text/x-makefile;text/x-objcsrc;text/x-pascal;application/x-perl;text/x-perl;application/x-perl-module;application/x-php;text/vnd.wap.wml;application/x-python;text/x-python;application/x-ruby;text/sgml;text/xml;model/vrml
diff --git a/kate/data/zsh.xml b/kate/data/zsh.xml
index 7bff073b1..473005bf3 100644
--- a/kate/data/zsh.xml
+++ b/kate/data/zsh.xml
@@ -8,7 +8,7 @@
<!ENTITY noword "(?![\w$+-])"> <!-- no word, $, + or - following -->
<!ENTITY pathpart "([\w_@.&#37;*?+-]|\\ )"> <!-- valid character in a file name -->
]>
-<language name="Zsh" version="0.1-1" kateversion="2.4" section="Scripts" extensions="*.sh;*.zsh;.zshrc;.zprofile;.zlogin;.zlogout;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Jonathan Kolberg (bulldog98@kubuntu-de.org)" license="LGPL">
+<language name="Zsh" version="0.1-1" kateversion="2.4" section="Scripts" extensions="*.sh;*.zsh;.zshrc;.zprofile;.zlogin;.zlogout;.profile" mimetype="application/x-shellscript;text/x-shellscript" casesensitive="1" author="Jonathan Kolberg (bulldog98@kubuntu-de.org)" license="LGPL">
<!-- (c) 2011 by Jonathan Kolberg (bulldog98@kubuntu-de.org)
modified for zsh -->