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 744400 - Add specific CSS class for the close/minimize/maximize button
Add specific CSS class for the close/minimize/maximize button
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Themes
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2015-02-12 15:06 UTC by Jian He
Modified: 2015-02-15 18:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add widget name for titlebuttons (589 bytes, patch)
2015-02-12 16:42 UTC, Jian He
none Details | Review

Description Jian He 2015-02-12 15:06:24 UTC
I want to set different CSS style for close/minimize/maximize buttons, but these buttons has same CSS class .titlebutton, need add different CSS class for these buttons.
Comment 1 Jian He 2015-02-12 16:42:51 UTC
Created attachment 296689 [details] [review]
Add widget name for titlebuttons
Comment 2 Cosimo Cecchi 2015-02-12 18:10:06 UTC
Review of attachment 296689 [details] [review]:

Perhaps it would be best to use a real style class instead of a widget name for this? Lapo, what do you think?
Comment 3 Lapo Calamandrei 2015-02-12 23:21:57 UTC
Uhm, well some more styleclasse won't hurt, on my side at least. As Cosimo noted better to have real classes then "elements", the general [Benjamin's right] idea is to use classes all over the place which could be applied to widgets sharing the same look, so ideally we shouldn't use names anywew.
Mutter probably needs to be patched too.