GNOME Client: Hardcoded icon path in launcher file
Issue generated from Tuleap's migration script. Originally submitted by: Vincent Bermel (willov)
Currently in the launcher file gnome-ring.desktop.in the icon path is hardcoded to the following absolute path:
Icon=@RING\_INSTALL\_PREFIX@/share/icons/hicolor/scalable/apps/ring.svg
This prevents icon theming without editing the launcher file.
According to the freedesktop.org standard application launcher icon locations are:
/usr/share/icons/hicolor/[size]/apps/
\~/.local/share/icons/hicolor/[size]/apps/
/usr/share/pixmaps/
Since you already install your icon to a standard location according to the standard specification and w.r.t. the icon lookup mechanisms of GNU/Linux DEs you can change the icon path line to simply the icon name:
Icon=ring
You needn't specify the full path or the file extension for icons in a standard location.
The icon will still up correctly and additionally can be themed via globally applied themes.