Age | Commit message (Collapse) | Author | Files | Lines |
|
Support any menu theme set up for the panel's menus differing from the rest of the Gtk theme using the .mate-panel-menu-bar style class
|
|
fixes https://github.com/mate-desktop/mate-panel/issues/571
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=f93821cc77892c7b262866d04bd8aa26ddafa154
|
|
Although the specification states that most hosts will hide those,
several items report them as Passive all the time and thus never show
up. So for now, just show everything.
Fixes #537.
|
|
It should only affect the space between items, not all around, and
that padding should be part of the item itself, not be outside of it.
|
|
|
|
|
|
|
|
It never was intended to be v3+ while upstream is v2+, so fix it.
|
|
|
|
|
|
|
|
It's only there because GtkImageMenuItem is deprecated, it doesn't
offer any original features.
|
|
|
|
Also, that part was quite fragile.
|
|
It makes them look a little blurry at the "proper" sizes (32, 48, etc.)
where the system-tray ones are perfect. Without the padding, they get
blurry at the same sizes system-tray ones do, not making the situation
worse.
|
|
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.
|
|
|
|
|
|
The StatusNotifier part of the implementation is based off
gnome-panel's status-notifier applet.
|