aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Gnome-module.md2
-rw-r--r--docs/markdown/snippets/gnome_update_mime_database.md5
2 files changed, 7 insertions, 0 deletions
diff --git a/docs/markdown/Gnome-module.md b/docs/markdown/Gnome-module.md
index d85476a..85b101a 100644
--- a/docs/markdown/Gnome-module.md
+++ b/docs/markdown/Gnome-module.md
@@ -415,3 +415,5 @@ It takes the following keyword arguments:
`<prefix>/<datadir>/icons/hicolor`.
- `update_desktop_database`: *Since 0.59.0* If set to `true`, update cache of
MIME types handled by desktop files in `<prefix>/<datadir>/applications`.
+- `update_mime_database`: *Since 0.64.0* If set to `true`, update cache of
+ MIME types in `<prefix>/<datadir>/mime`.
diff --git a/docs/markdown/snippets/gnome_update_mime_database.md b/docs/markdown/snippets/gnome_update_mime_database.md
new file mode 100644
index 0000000..a60381d
--- /dev/null
+++ b/docs/markdown/snippets/gnome_update_mime_database.md
@@ -0,0 +1,5 @@
+## Added `update_mime_database` to `gnome.post_install()`
+
+Applications that install a `.xml` file containing a `mime-type` need to update
+the cache upon installation. Most applications do that using a custom script,
+but it can now be done by Meson directly.