! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Patch to make .desktop entries of Thunar master validate with 0.16
Status:
RESOLVED: FIXED

Comments

Description Samuli Suominen 2010-08-22 12:36:40 CEST
Created attachment 3085 
Patch to make .desktop entries validate in Thunar master

The attached patch fixes the following problems as reported by desktop-file-validate from desktop-file-utils-0.16, also see related discussion here:

https://bugzilla.redhat.com/show_bug.cgi?id=580944


Thunar-folder-handler.desktop: error: (will be fatal in the future): value "FileManager" in key "Categories" in group "Desktop Entry" requires another category to be present among the following categories: System;FileTools
/usr/share/applications/Thunar-folder-handler.desktop: warning: value "x-directory/gnome-default-handler;x-directory/normal;inode/directory;" for key "MimeType" in group "Desktop Entry" contains value "x-directory/gnome-default-handler" which is a MIME type that should probably not be used: "x-directory" is an old media type that should be replaced with a modern equivalent
/usr/share/applications/Thunar-folder-handler.desktop: warning: value "x-directory/gnome-default-handler;x-directory/normal;inode/directory;" for key "MimeType" in group "Desktop Entry" contains value "x-directory/normal" which is a MIME type that should probably not be used: "x-directory" is an old media type that should be replaced with a modern equivalent

Thunar-bulk-rename.desktop: warning: value "Application;System;Utility;Core;GTK;Filesystem;" for key "Categories" in group "Desktop Entry" contains a deprecated value "Application"

Thunar.desktop: warning: value "Application;System;Utility;Core;GTK;FileManager;" for key "Categories" in group "Desktop Entry" contains a deprecated value "Application"
/usr/share/applications/Thunar.desktop: error: (will be fatal in the future): value "FileManager" in key "Categories" in group "Desktop Entry" requires another category to be present among the following categories: System;FileTools
Comment 1 Jannis Pohlmann editbugs 2010-11-04 15:10:13 CET
Thanks, fixed in master:

commit 1baae0fad5e4e2dec3897ec9a6a121601f18a732
Author: Jannis Pohlmann <jannis@xfce.org>
Date:   Thu Nov 4 15:06:38 2010 +0100

    Make .desktop entries of Thunar valid (bug #6655).
    
    This commit updates the .desktop entries installed by Thunar so that
    they validate against desktop-file-validate from desktop-file-utils
    0.16. Patch by Samuli Suominen <ssuominen@gentoo.org>.

Bug #6655

Reported by:
Samuli Suominen
Reported on: 2010-08-22
Last modified on: 2010-11-04

People

Assignee:
Jannis Pohlmann
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information