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 644276 - paned: don't set the "pane-separator" style class to all the container
paned: don't set the "pane-separator" style class to all the container
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 643313
 
 
Reported: 2011-03-09 06:16 UTC by Cosimo Cecchi
Modified: 2011-03-13 01:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
paned: don't set the "pane-separator" style class to all the container (1.21 KB, patch)
2011-03-09 06:16 UTC, Cosimo Cecchi
accepted-commit_now Details | Review

Description Cosimo Cecchi 2011-03-09 06:16:22 UTC
There's a bug in GtkPaned, where it sets its "pane-separator" style class to the whole container, propagating colors to children.
It should only set the class when rendering the handle.
Comment 1 Cosimo Cecchi 2011-03-09 06:16:29 UTC
Created attachment 182923 [details] [review]
paned: don't set the "pane-separator" style class to all the container

Otherwise children inherit color properties specified for the pane
separator itself.
Comment 2 Carlos Garnacho 2011-03-12 19:04:39 UTC
Comment on attachment 182923 [details] [review]
paned: don't set the "pane-separator" style class to all the container

Oh, very good observation, pane-separator isn't meant to affect children :)