diff options
author | 2023-10-23 01:50:42 +0200 | |
---|---|---|
committer | 2023-10-22 23:50:42 +0000 | |
commit | ac63d806302b0f115be18db7c8212812a03fb2bb (patch) | |
tree | 804169395bbac3f19c0bf0872cf85d4a32b6fa82 | |
parent | RELNOTES: reword profiles item (diff) | |
download | firejail-ac63d806302b0f115be18db7c8212812a03fb2bb.tar.gz firejail-ac63d806302b0f115be18db7c8212812a03fb2bb.tar.zst firejail-ac63d806302b0f115be18db7c8212812a03fb2bb.zip |
contrib/syntax: remove 'text/plain' from firejail-profile.lang.in (#6059)
The `mimetypes` property contains the section `text/plain`. This causes
for example the Gnome Editor to recognize every simple text file as a
firejail profile file. See this issue:
https://gitlab.gnome.org/GNOME/gnome-text-editor/-/issues/612
Fixes #6057.
-rw-r--r-- | contrib/syntax/files/firejail-profile.lang.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/syntax/files/firejail-profile.lang.in b/contrib/syntax/files/firejail-profile.lang.in index acd5c86ce..a5deceb2c 100644 --- a/contrib/syntax/files/firejail-profile.lang.in +++ b/contrib/syntax/files/firejail-profile.lang.in | |||
@@ -7,7 +7,7 @@ | |||
7 | --> | 7 | --> |
8 | <language id="firejail-profile" name="Firejail Profile" version="2.0" _section="Other"> | 8 | <language id="firejail-profile" name="Firejail Profile" version="2.0" _section="Other"> |
9 | <metadata> | 9 | <metadata> |
10 | <property name="mimetypes">text/plain;text/x-firejail-profile</property> | 10 | <property name="mimetypes">text/x-firejail-profile</property> |
11 | <property name="globs">*.profile;*.local;*.inc</property> | 11 | <property name="globs">*.profile;*.local;*.inc</property> |
12 | <property name="line-comment-start">#</property> | 12 | <property name="line-comment-start">#</property> |
13 | </metadata> | 13 | </metadata> |