GNOME Bugzilla – Bug 413443
gnome-calculator is not publically visible icon
Last modified: 2007-03-28 12:35:31 UTC
gcalctool.desktop referes to gnome-calculator, which does not exist in any of public icon search paths ($(datadir)/pixmaps or $(datadir)/icons/hicolor/*/apps). Package gnome-icon-theme provides this icon in GNOME-only path $(datadir)/icons/gnome/*/apps. Fix: Either provide icon in a public path (preferred) or disable gcalctool for all desktops except GNOME.
Thanks Stanislav. Any idea how I "disable gcalctool for all desktops except GNOME?"
Could the gcalctool.desktop refer to accesories-calculator instead perhaps, a icon that exists in all icon themes that follows the icon-naming-spec on freedesktop.org.
(In reply to comment #1) > Thanks Stanislav. Any idea how I "disable gcalctool for all > desktops except GNOME?" You can do this with this line in the .desktop file: OnlyShowIn=GNOME; However, Andreas is probably right about the name of the icon.
Thanks Andreas/Vincent. I'll put together a patch (probably tomorrow) and check it into SVN trunk/HEAD.
Yes. For basic apps that make up the base desktop, like the calculator, file manager, etc... we have some names in the icon-naming-spec. This is so that under KDE their calculator gets shown, and gets the icon, and under GNOME we get gcalctool with the icon. As Vincent said, OnlyShowIn=GNOME is how that gets set. And as Andreas suggested, accessories-calculator would be the name to use in the .desktop file. This icon is provided by the theme, rather than gcalctool.
Created attachment 84466 [details] [review] Patch to hopefully fix the problem. Vincent/Rodney, could you eyeball this and check that it's what's needed please? It seems to work okay for me. Thanks.
Patch committed. Closing as FIXED.