File desktop-file-utils-add-Pantheon.patch of Package desktop-file-utils

diff -Nura desktop-file-utils-0.23/src/validate.c desktop-file-utils-0.23_new/src/validate.c
--- desktop-file-utils-0.23/src/validate.c	2016-06-19 01:00:22.000000000 +0800
+++ desktop-file-utils-0.23_new/src/validate.c	2019-06-19 17:58:15.104352109 +0800
@@ -366,8 +366,9 @@
   { DESKTOP_STRING_TYPE,            "Exec",               TRUE,  FALSE, FALSE, handle_exec_key }
 };
 
+/* This should be the same list as in xdg-specs/menu/menu-spec.xml */
 static const char *show_in_registered[] = {
-    "GNOME", "KDE", "LXDE", "LXQt", "MATE", "Razor", "ROX", "TDE", "Unity", "XFCE", "Cinnamon", "EDE", "Old"
+    "GNOME", "KDE", "LXDE", "LXQt", "MATE", "Razor", "ROX", "TDE", "Unity", "XFCE", "EDE", "Cinnamon", "Pantheon", "Old"
 };
 
 static struct {
openSUSE Build Service is sponsored by