After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 99088 - balsa needs to conform to gtk2 icon themes
balsa needs to conform to gtk2 icon themes
Status: VERIFIED FIXED
Product: balsa
Classification: Other
Component: general
2.0.x
Other other
: Normal normal
: ---
Assigned To: Balsa Maintainers
Balsa Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-11-20 13:28 UTC by Samuel Stringham
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of problem (262.65 KB, image/png)
2002-11-20 13:31 UTC, Samuel Stringham
Details

Description Samuel Stringham 2002-11-20 13:28:58 UTC
Package: balsa
Severity: minor
Version: 2.0.3
Synopsis: balsa needs to conform to gtk2 icon themes
Bugzilla-Product: balsa
Bugzilla-Component: general

Description:
Description of Problem: When showing attachment parts it takes the
default icon, not the icon of the icon theme that is set in GConf.  See
screenshot for more insight. Notice c_sharp.ppt in both windows. 
Nautilus is correct, balsa isn't.




------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-11-20 08:28 -------

Reassigning to the default owner of the component, pawsa@theochem.kth.se.

Comment 1 Samuel Stringham 2002-11-20 13:31:38 UTC
Created attachment 12426 [details]
Screenshot of problem
Comment 2 PeterBloomfield 2002-11-20 14:01:13 UTC
Balsa uses gnome_vfs_mime_get_icon() to find the icon file--does this
not respect icon themes?
Comment 3 Dave Bordoley [Not Reading Bug Mail] 2002-11-20 16:11:09 UTC
what version of nautilus is the reporter using.  The nautilus included
with redhat8 does not use the freedesktop icon theme spec (it  uses
its own themes).  That said I'm not sure if the gnome-vfs mime icon
code respects the new icon themes or not. You probably should talk to
alex larson (nautilus maintainer) about this.
Comment 4 Samuel Stringham 2002-11-20 21:44:44 UTC
This is Garnome-0.19.0, nautilus 2.1.2 gnome-vfs-2.1.3
gnome-mime-data-2.0.2
Maybe it is a gnome-vfs issue?  Will look into it a bit more later.
Comment 5 Samuel Stringham 2002-12-10 18:26:00 UTC
hmm . . . straight from the source:
/**
 * gnome_vfs_mime_get_icon:
 * @mime_type: A const char * containing a  MIME type
 *
 * Query the MIME database for an icon representing the specified MIME
type.
 *
 * Return value: The filename of the icon as listed in the MIME
database. This is
 * usually a filename without path information, e.g. "i-chardev.png",
and sometimes
 * does not have an extension, e.g. "i-regular" if the icon is
supposed to be image
 * type agnostic between icon themes. Icons are generic, and not theme
specific. These
 * will not necessarily match with the icons a user sees in Nautilus,
you have been warned.
 */

I wonder why not?  Isn't nautilus supposed to conform to the new
freedesktop.org standards?  Let's move this to something more sane,
like gnome-vfs.
Comment 6 Samuel Stringham 2002-12-10 18:51:05 UTC
Another thing I found is a lot of cruft in the default gnome-vfs.keys
file, like real-audio icons being set to "i-music" instead of the
correct "gnome-mime-audio-x-pn-realaudio", and character devices being
referenced by "i-chardev" instead of "gnome-fs-chardev"
Comment 7 Alexander Larsson 2002-12-11 17:46:30 UTC
You need to use gnome_icon_lookup() from libgnomeui.
Comment 8 Dave Bordoley [Not Reading Bug Mail] 2002-12-11 17:52:55 UTC
moving this back to balsa
Comment 9 Peter Bloomfield 2002-12-18 22:53:35 UTC
Where can I find some documentation on gnome_icon_lookup?
Comment 10 Carlos Morgado 2003-06-15 20:17:23 UTC
gnome_icon_lookup seems very tied into nautilus. shouldn't a gnome_vfs
function do ? 
Comment 11 Kjartan Maraas 2003-10-05 19:49:05 UTC
gnome_icon_lookup() lives in libgnomeui. Why do you think it's tied to
nautilus?
Comment 12 Dave Bordoley [Not Reading Bug Mail] 2003-10-05 21:51:54 UTC
just to let you know the equivalent of the gnome_icon_theme function 
in libgnomeui are planned to be included in gtk 2.4
Comment 13 Carlos Morgado 2003-10-05 22:20:10 UTC
Kjartan, can't remember why I noted that. Prolly cause I found it out
of context. 
Comment 14 Samuel Stringham 2003-12-10 00:56:27 UTC
This has been fixed for a while.  Sorry.