Bug 457713

Summary: Icon reference in .desktop file contains file extension (.png)
Product: [Fedora] Fedora Reporter: Martin Sourada <martin.sourada>
Component: system-config-bindAssignee: Jaroslav Reznik <jreznik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: odvorace, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-02 13:40:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Sourada 2008-08-04 07:02:09 UTC
Description of problem:
Icon reference in .desktop file contains file extension (.png) which prevents effectively theming it, e.g. if the used icon theme is based solely on SVGs.

Version-Release number of selected component (if applicable):
system-config-bind-4.0.8-1.fc10

Additional info:
Just dropping the extension is fine (i.e. to Icon=system-config-bind), but it would be even better if the icon name could be changed to something more general and follow the Icon Naming Guidelines [1]. I'd suggest preferences-system-dns.

Also, as the icon is used in the application itself, it would be nice to look it up the correct way [2]. GTK has already prepared look-up functions for that, so the implementation should not be hard. Patch attached to bug #454402 might be helpful.

[1] http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html#guidelines

[2] http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#icon_lookup

Comment 1 Jaroslav Reznik 2008-08-04 08:13:58 UTC
(In reply to comment #0)
>I'd suggest preferences-system-dns.

I think "preferences-network-dns" is more appropriate for s-c-bind and conforms more to proposed s-c-netboot icon name ("preferences-network-boot").

Comment 2 Martin Sourada 2008-08-04 08:54:40 UTC
(In reply to comment #1)
> I think "preferences-network-dns" is more appropriate for s-c-bind and conforms
> more to proposed s-c-netboot icon name ("preferences-network-boot").

Sounds good to me.