summaryrefslogtreecommitdiff
path: root/applets/notification_area/status-notifier/sn-flat-button.c
AgeCommit message (Collapse)AuthorFilesLines
2017-01-24status-notifier: Make SnFlatButton GPLv2+Colomban Wendling1-1/+1
It never was intended to be v3+ while upstream is v2+, so fix it.
2017-01-23status-notifier: Fix elements display on GTK < 3.20Colomban Wendling1-0/+174
On GTK 3.20 onwards, themes are expected to use CSS names rather than widget class names, and apparently CSS names are not inherited. So, a derived widget altering its CSS name won't be styled as its parent classes. Thus, SnItem setting the CSS name "sn-item" avoids being styled as a "button". But on older GTK versions, the widget class being used makes this change ineffective. Fix that by introducing a custom derived button that doesn't draw the unwanted parts.