https://bugs.kde.org/show_bug.cgi?id=414742

--- Comment #17 from Walther Pelser <w.pel...@web.de> ---
<?xml version="1.0" encoding="utf-8"?>
This is attachment Nr.2 in the list above
(https://bugs.kde.org/attachment.cgi?id=124258)

<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info";
type="application/vnd.lotus-1-2-3">
  <!--Created automatically by update-mime-database. DO NOT EDIT!-->
  <comment>Lotus-1-2-3-Tabelle</comment>
  <glob-deleteall/>
  <glob pattern="*.wk1"/>
  <glob pattern="*.wk3"/>
  <glob pattern="*.wk4"/>
  <glob pattern="*.wks"/>
</mime-type>

And this is  from 
https://specifications.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html
 
(part of it)

"For example, when using the default paths, “Load all the <MIME>/text/html.xml
files” means to load /usr/share/mime/text/html.xml,
/usr/local/share/mime/text/html.xml, and ~/.local/share/mime/text/html.xml (if
they exist, and in this order). Information found in a directory is added to
the information found in previous directories, except when glob-deleteall or
magic-deleteall is used to overwrite parts of a mimetype definition." 

If I understand the example right, then the line "<glob-deleteall/>" delets all
the settings in /usr/share/mime/application/vnd.lotus-1-2-3.xml and overwrites
it with the settings in ~/.local/share/mime/application/vnd.lotus-1-2-3.xml and
the "<glob pattern="*.123"/>" will be deleted too.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to