GNOME Bugzilla – Bug 562752
Some icons are not visible while no gtk-icon-theme-name is set
Last modified: 2009-10-10 01:34:07 UTC
Please describe the problem: For users that has no ~/.gtkrc-2.0 file or has not gtk-icon-theme-name option set in it, some icons in toolbar and in folder treeview are not displayed. Just empty place for icon and text is displayed but no icon picture. In main window toolbar following icons are missing: Check, Compose, Continue, Reply, Forward. In folder treeview icons for 'Inbox' and 'Outbox' are missing. When hovering the mouse over these two entries following messages are printed to console: (balsa:12245): Gtk-WARNING **: could not load image: Icon 'balsa_mbox_in' not present in theme (balsa:12245): Gtk-WARNING **: could not load image: Icon 'balsa_mbox_out' not present in theme When add following entry to ~/.gtkrc-2.0, all icons are visible: gtk-icon-theme-name = "gnome" Steps to reproduce: 1. Prepare user that has not ~/.gtkrc-2.0 file or has not gtk-icon-theme-name option in it. 2. Run balsa as user prepared in 1). Actual results: Balsa is running with some of the icons missing. Expected results: Balsa should have all icons visible also for (non-gnome) users that has no ~/.gtkrc-2.0 file. Does this happen every time? Yes. Other information:
I have had exactly the same problem. In my case, I run primarily a KDE system, with only a few Gnome utilities, like Balsa, which may account for having never created a .gtkrc-2.0 file.
Created attachment 123716 [details] [review] proposed patch Could you try the attached patch? In principal, it should remove the need to set up your ~/.gtkrc. All I can say is that on a Gnome system, it doesn't break anything (yet!).
Created attachment 123718 [details] [review] replacement patch The first patch was missing a newline--this one may work better.
Sorry for late answer. Unfortunatelly the patch is not working. Icons are still not visible. Patch tested with 2.3.28.
No problem! But also no progress :( As far as anyone can tell, the only way to get those icons is to use the ~/.gtkrc file. For the record, the issue was discussed in a thread[1] on the balsa list, with no further insights. Let's leave this open, in case someone comes up with a bright idea. [1] <URL:http://mail.gnome.org/archives/balsa-list/2008-December/msg00050.html>
A patch suggested by Stanislav Brabec, using gtk_settings properties, is attached to bug #596309. Please see whether it solves the problem. Thanks!
*** This bug has been marked as a duplicate of bug 59609 ***
> *** This bug has been marked as a duplicate of bug 59609 *** I think you have the wrong bug number.
Apparently my '3' is sticky--thanks for pointing out the error! *** This bug has been marked as a duplicate of bug 596309 ***