Autocreated ~/.gtkrc-2.0 boolean values causes Gtk-Message errors

Bug #898057 reported by MestreLion
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxappearance (Ubuntu)
New
Undecided
Unassigned

Bug Description

After installing and using LXAppearance (0.4.1+git20100809-0ubuntu1) in Linux Mint 10 64bits (based on Ubuntu Maverick 10.10), all GTK+ apps started via terminal shows the following errors:

Gtk-Message: /home/rodrigo/.gtkrc-2.0:13: failed to retrieve property `gtk-enable-event-sounds' of type `gboolean' from rc file value "((GString*) 0x1ced080)" of type `gboolean'
Gtk-Message: /home/rodrigo/.gtkrc-2.0:14: failed to retrieve property `gtk-enable-input-feedback-sounds' of type `gboolean' from rc file value "((GString*) 0x1ced440)" of type `gboolean'
Gtk-Message: /home/rodrigo/.gtkrc-2.0:11: failed to retrieve property `gtk-button-images' of type `gboolean' from rc file value "((GString*) 0x1ced200)" of type `gboolean'
Gtk-Message: /home/rodrigo/.gtkrc-2.0:12: failed to retrieve property `gtk-menu-images' of type `gboolean' from rc file value "((GString*) 0x1ced0a0)" of type `gboolean'

The ~/.gtkrc-2.0 file created automatically by lxappearance contains these lines:

gtk-button-images=TRUE
gtk-menu-images=TRUE
gtk-enable-event-sounds=TRUE
gtk-enable-input-feedback-sounds=TRUE

This may be unrelated, but while googling for this errors, I've found this:

http://live.gnome.org/GnomeArt/Tutorials/GtkThemes#The_gtkrc_File

"Note that TRUE and FALSE cannot be used in the theme, you can use 1 and 0 instead. "

And indeed if I change the values from TRUE to 1 (or 0), it solves the problem (until I run LXAppearance again and it overwrites my changes)

I believe LXAppearance should change boolean values in ~/.gtkrc-2.0 from TRUE/FALSE to 1/0

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.