[Pkg-gpe-maintainers] Bug#531941: gpe-gallery: missing gpe-gallery.png icon for .the desktop file

Emilio Pozuelo Monfort pochu at ubuntu.com
Fri Jun 5 14:31:59 UTC 2009


Neil Williams escribió:
> On Fri, 05 Jun 2009 08:02:20 +0200
> Luca Capello <luca at pca.it> wrote:
> 
>> Package: gpe-gallery
>> Version: 0.97-3
>> Severity: minor
> 
>> Hello,
>>
>> the .desktop file looks for gpe-gallery.png while only the .xpm version
> 
> Bah - this is getting really annoying. If Debian is going to stick with
> two menu systems, why do we also have to stick with two icon formats?
> (And why did we choose the *BIGGER* icon format of XPM? It's *double*
> the size of the equivalent PNG for foo sake.)
> 
> The other mystery is that the desktop icon shows up fine on my own Sid
> systems. Has something changed to allow the XPM to show up when a PNG
> doesn't exist in some cases?
> 
> $ ls /usr/share/pixmaps/gpe-gallery.*
> /usr/share/pixmaps/gpe-gallery.xpm
> 
> $ grep Icon /usr/share/applications/gpe-gallery.desktop 
> Icon=gpe-gallery.png

Note that the .desktop specification discourages putting an extension to the
Icon field. It will Just Work if you write Icon=gpe-gallery, and if there are
various it will choose the better one. That way, the xpm should be enough for
everyone.

emilio at mercurio:~$ desktop-file-validate /usr/share/applications/gobby.desktop
/usr/share/applications/gobby.desktop: warning: value "gobby.png" 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

Cheers,
Emilio

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gpe-maintainers/attachments/20090605/9ca53f61/attachment.pgp>


More information about the Pkg-gpe-maintainers mailing list