diff options
author | Benjamin Berg <bberg@redhat.com> | 2020-10-08 15:58:37 +0200 |
---|---|---|
committer | Benjamin Berg <bberg@redhat.com> | 2020-10-09 11:04:19 +0200 |
commit | 51ac77d58c03f337e1347263eb4995e1f9947a9d (patch) | |
tree | cd393f97907cf795880fc67bff1a5c8dd04c0d88 /src/xdg-autostart-generator | |
parent | d5273f51a1f452575eccfb855a8dc383c8d23f3a (diff) | |
download | systemd-51ac77d58c03f337e1347263eb4995e1f9947a9d.tar.gz |
xdg-autostart: Ignore more common XDG Desktop Entry fields
It makes sense to ignore all the common fields that are expected and
that we can safely ignore. Note that it is fine to ignore URL as we will
already warn about the type= being wrong in that case.
Closes: #17276
Diffstat (limited to 'src/xdg-autostart-generator')
-rw-r--r-- | src/xdg-autostart-generator/xdg-autostart-service.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xdg-autostart-generator/xdg-autostart-service.c b/src/xdg-autostart-generator/xdg-autostart-service.c index e111875b78..dd90a41efd 100644 --- a/src/xdg-autostart-generator/xdg-autostart-service.c +++ b/src/xdg-autostart-generator/xdg-autostart-service.c @@ -340,9 +340,12 @@ XdgAutostartService *xdg_autostart_service_parse_desktop(const char *path) { { "Desktop Entry", "GenericName", NULL, 0, NULL}, { "Desktop Entry", "Icon", NULL, 0, NULL}, { "Desktop Entry", "Keywords", NULL, 0, NULL}, + { "Desktop Entry", "MimeType", NULL, 0, NULL}, { "Desktop Entry", "NoDisplay", NULL, 0, NULL}, { "Desktop Entry", "StartupNotify", NULL, 0, NULL}, + { "Desktop Entry", "StartupWMClass", NULL, 0, NULL}, { "Desktop Entry", "Terminal", NULL, 0, NULL}, + { "Desktop Entry", "URL", NULL, 0, NULL}, { "Desktop Entry", "Version", NULL, 0, NULL}, {} }; |