Maybe someone here will know
Oct. 25th, 2007 08:25 pmI posted this to gtk-app-devel-list but nobody replied, not even with the wrong answer.
Subject: rc file only works outside gnome
My GTK+ application uses colors in its user interface for various purposes, and calls gtk_rc_parse_string() at startup to set some defaults.
This works fine on my Mac and under KDE, but if I run it in a Gnome session (under Debian etch), none of the colors appear. I infer that they have been overridden by Gnome's theme even though it doesn't know anything about my application.
How do I get around this, preferably still leaving my users the ability to reconfigure the application's choice of color?
(The part of the source code that uses GTK+ can be found in:
http://www.greenend.org.uk/rjk/bzr/disorder/mainline/disobedience/
Update: for the benefit of anyone coming across this in the future, I concluded that this part of GTK+ is fundamentally broken and worked around it by setting explicit colors on all my widgets and keeping a separate configuration file to control them.
(no subject)
Date: 2007-10-26 08:40 am (UTC)(no subject)
Date: 2007-10-26 09:14 am (UTC)