The documentation for xdg-desktop-menu says that the key "Value" is required for both .desktop and .directory files "to indicate that the ... file follows the 1.0 version of the specification". I've never written a .desktop file before, but it looks like the key name should be "Version". The gedit syntax highlighter recognizes "Version" and not "Value", and "Version" makes more sense.
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/xdg-utils/issues/38.