Bug #508

avatar

Issues in desktop file

Added by Mirco Bauer 5199 days ago. Updated 5017 days ago.

Status:Closed Start:09/27/2010
Priority:Normal Due date:
Assigned to:avatarMirco Bauer % Done:

100%

Category:Frontend GNOME
Target version:0.8.9
Complexity:

Low

Found in Version:

Votes: 0

Description

# desktop-file-validate /usr/share/applications/smuxi-frontend-gnome.desktop
/usr/share/applications/smuxi-frontend-gnome.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated
/usr/share/applications/smuxi-frontend-gnome.desktop: warning: value "smuxi-frontend-gnome.svg" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path

Associated revisions

Revision caa88b17d2e57184f834b091e317666ae6d9d06b
Added by Mirco Bauer 5017 days ago

[Frontend-GNOME] Fixed desktop file for GNOME 2.32 and GNOME 3 compatibility (closes: #508)

As per GNOME goal "Correct Desktop Files" [0] the desktop file should set
the application name in Name without descriptive suffix and application name
with descriptive suffix in X-GNOME-FullName.

Removed the deprecated Encoding key as per Desktop Entry Specification [1]

Removed the file extension in Icon as per Icon Theme Specification [2]

[0] http://live.gnome.org/GnomeGoals/CorrectDesktopFiles
[1] http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#deprecated-items
[2] http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html

History

Updated by Michael Monreal 5179 days ago

avatar

In addition to the mentioned issues, there are some more things to fix for GNOME 2.32 and GNOME 3 compatibility:

Name=Smuxi IRC Client
GenericName=IRC Chat

New key:
X-GNOME-FullName=Smuxi IRC Client

The "X-GNOME-FullName" holds "Name" and the value of the old GenericName key, which is no longer used and should be removed.

Updated by Mirco Bauer 5017 days ago

avatar
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF