aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2021-06-23 13:40:41 -0400
committerXavier Claessens <xclaesse@gmail.com>2021-06-23 15:48:32 -0400
commitd3d95d39beebb42894dbcf7cad58ef1fba4bbe2f (patch)
treebdedf0bb69b60fba5791936b4ac801224e3e95f3 /docs/markdown/snippets
parent39c6571a46e5d432f96d4a20946f7d4e5f72f9fd (diff)
downloadmeson-d3d95d39beebb42894dbcf7cad58ef1fba4bbe2f.zip
meson-d3d95d39beebb42894dbcf7cad58ef1fba4bbe2f.tar.gz
meson-d3d95d39beebb42894dbcf7cad58ef1fba4bbe2f.tar.bz2
gnome: add update_desktop_database to post_install()
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/gnome.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/snippets/gnome.md b/docs/markdown/snippets/gnome.md
index 1944376..d185da2 100644
--- a/docs/markdown/snippets/gnome.md
+++ b/docs/markdown/snippets/gnome.md
@@ -3,3 +3,11 @@
When using `gnome.compile_schemas()` the location of the compiled schema is
added to `GSETTINGS_SCHEMA_DIR` environment variable when using
[`meson devenv`](Commands.md#devenv) command.
+
+## `update_desktop_database` added to `gnome.post_install()`
+
+Applications that install a `.desktop` file containing a `MimeType` need to update
+the cache upon installation. Most applications do that using a custom script,
+but it can now be done by Meson directly.
+
+See [`gnome.post_install()`](Gnome-module.md#gnomepost_install).