GNOME Bugzilla – Bug 324073
Fix order of rc file parsing.
Last modified: 2006-01-08 05:24:42 UTC
Currently, gtkrc files are parsed in default,user,theme order. That doesn't make a lot of sense and blocks some features that became possible by introducing symbolic colors (bug #114355). The order should be default,theme,user so the user-added gtkrc files are able to override theme settings, not vice versa.
Created attachment 55987 [details] [review] Patch which changes the parse order as described
The theme is *SET* by the default or user RC files in the non-XSETTINGS case. I don't think this reordering is workable. What's the use case here? Theme variants seem like they should be done by allowing the theme name to be a list of themes to load in order or something like that. (Or just have the variant include the main theme.) GUI user customization should be handled by setting the XSETTING that allows you to specify colors individually.
That's indeed evil :( What the patch intends to do is making theme-defined symbolic colors accessible/overridable by app-specific gtkrc files. I guess we can forget this now, I don't see any way to acheive this without adding a fourth layer of rc files that is parsed after all of the existing ones (which sounds very ugly).
But as Owen points out, the XSetting is the intended mechanism for user-tweaking of symbolic colors anyway, so its probably not all that bad.
ok, closing this