Several hours were spent on investigation "Gtk-WARNING **: Error parsing
gtk-icon-sizes string" issue... Most of all gnome application printed
the warnings on my Ubuntu 9.10. I found out that only one function in
GTK+ library prints the warning:
icon_size_setting_parse (GtkSettings *settings,
const gchar *icon_size_string)
After that I found out that it doesn't like its "icon_size_string"
Instead of "\n" the function expects ":"...
Using strace tool I understood the root cause... It is my new theme
Moomex. It has /home/nikman/.themes/Moomex/gtk-2.0/gtkrc file which
contains the following line:
gtk-icon-sizes = "panel-menu=24,24\npanel=20,20\ngtk-button=18,18
* SOLUTION: *
If you have the same problems on your system... Change the following
string in your /home/<USER>/.themes/<YOUR THEME>/gtk-2.0/gtkrc: