In a pygtk app, I'm using rc_parse_string to adjust the appearance of my GUI. (Mostly to make it look more native under Windows, and to theme individual widgets.) This, for example, would change the icon theme for my application:
gtk.rc_parse_string("""
gtk-icon-theme-name = "Galaxy"
""")
This works under Windows, but it only works under Linux when gnome-settings-daemon is not running. How do I override the theme settings made by gnome-settings-daemon? (In my application only, without changing system-wide settings!)
(By the way, the same problem occurs when you try to theme an individual app by setting GTK2_RC_FILES
. It works for non-native apps like OpenOffice, but fails for native gnome apps as soon as the settings daemon is running.)