After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 70205 - Priorization of theme merging and merging engine settings
Priorization of theme merging and merging engine settings
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
1.3.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2002-01-31 20:10 UTC by Owen Taylor
Modified: 2011-02-04 16:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Owen Taylor 2002-01-31 20:10:05 UTC
RC styles bindings are currently merged ordered by:

 1) Type (widget, widget_class, class)
 2) Priority specified in RC file
 3) ordering in file (later wins)

To make specified priorities meaningful, I think we 
need to reverse 1) and 2). This isn't going to be
easy to implement, but probably needs to be done. 
I doubt it will cause problems for anybody.

Also, there is no way to "unset" the engine back
to the default in a merged RC style; we might want
to support engine "" {} to mean this.
Comment 1 Owen Taylor 2002-02-02 00:43:09 UTC
Fri Feb  1 17:48:51 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.c (gtk_rc_get_style): Fix ordering of
	priorities so that priorities take precendence over
	the ordering by type. (#70205)

	* test/testgtkrc tests/testgtk.c (create_rc_file): Add 
	some labels to test priorities in testgtkrc.