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 362870 - Theme preferences dialog ignores gtk-button-images option in ~/.gtkrc-2.0
Theme preferences dialog ignores gtk-button-images option in ~/.gtkrc-2.0
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: [obsolete] theme-manager
unspecified
Other All
: Normal minor
: ---
Assigned To: Thomas Wood
Control-Center Maintainers
: 362884 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-10-17 14:57 UTC by Carthik Sharma
Modified: 2007-05-19 13:31 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Carthik Sharma 2006-10-17 14:57:49 UTC
Please describe the problem:
I have the following one line in my ~/.gtkrc-2.0 file:
gtk-button-images=0

This is supposed to disable the icons for buttons in gtk apps. However, this does not happen. I have tried restarting the computer and yet this setting does not take effect. Notice the icons to the left of "Install Theme" and "Theme Details" in the screenshot I will attach.

So the theme preferences dialog seems to ignore the option in gtkrc-2.0

Steps to reproduce:
1. Add a line in  ~/.gtkrc-2.0 file:
gtk-button-images=0
2. Open the Theme Preferences window
 


Actual results:
This is supposed to disable the icons for buttons in gtk apps. However, this does not happen. I have tried restarting the computer and yet this setting does not take effect. Notice the icons to the left of "Install Theme" and "Theme Details" in the screenshot I will attach.

Expected results:
The buttons should not be visible.

Does this happen every time?
Yes.

Other information:
Bug originally reported at https://launchpad.net/distros/ubuntu/+source/control-center/+bug/66444

Screenshot: http://librarian.launchpad.net/4861107/Screenshot.png
.gtkrc-2.0 file: http://librarian.launchpad.net/4861119/.gtkrc-2.0
Comment 1 Thomas Wood 2006-10-31 09:53:07 UTC
Confirmed, but I think this is something GTK+ should be doing automatically.
Moving to GTK+ for comment.
Comment 2 Sebastien Bacher 2006-10-31 10:47:20 UTC
*** Bug 362884 has been marked as a duplicate of this bug. ***
Comment 3 Matthias Clasen 2007-01-01 05:55:09 UTC
GTK+ does do this automatically, if you give it the necessary information
by using gtk_button_set_image or the "image" property.
Comment 4 Thomas Wood 2007-01-14 20:05:04 UTC
The buttons are generated by libglade, so perhaps this is a libglade issue?
Comment 5 Jens Granseuer 2007-05-19 13:31:57 UTC
Fixed in the new appearance capplet in trunk.

We're currently working around this libglade deficiency by setting the icon through code instead of glade, but it would be nice to get bug 436360 resolved...