Incorrect reference to icon in .desktop file

Bug #1160681 reported by MestreLion
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-color-chooser
New
Undecided
Unassigned
gnome-color-chooser (Ubuntu)
New
Undecided
Unassigned

Bug Description

A snippet from /usr/share/applications/gnome-color-chooser.desktop :

[Desktop Entry]
Version=1.0
Name=GNOME Color Chooser
Comment=Customize your GNOME desktop
...
Exec=gnome-color-chooser
Terminal=false
Type=Application
Icon=gnome-color-chooser.svg
Categories=GNOME;Settings;
StartupNotify=true

The line "Icon=gnome-color-chooser.svg" is naming the icon with the '.svg' extension, which is a syntax error: it should be either by name "gnome-color-chooser" only (no ".svg") or by its full path (/usr/share/pixmaps/gnome-color-chooser.svg). The former is much more preferable.

This bug makes the dashboard shows a generic "blank page" as the icon for the application. Surprisingly, the launcher is able to show the correct icon.

Tags: patch
Revision history for this message
MestreLion (mestrelion) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Fix icon name in desktop file" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Aditya V (kroq-gar78) wrote :

Hello,

Are you sure the diff should not be on the file "src/gnome-color-chooser.desktop.in"? Currently, I believe you're referring to it after its been installed either in the package build directory or from a built debian package.

summary: - Icon has incorrect reference in .desktop file
+ Incorrect reference to icon in .desktop file
Revision history for this message
MestreLion (mestrelion) wrote :

You're right.. I generated the patch from the binary package instead of the *source* package as it should. /palmface moment :$

But still, the patch still holds if you just change the filenames. Actually, being such a simple edit one can do it manually and not even use a patch file.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.