Age | Commit message (Collapse) | Author | Files | Lines |
|
Based on part of https://github.com/GNOME/gnome-panel/commit/f0f91805a1e39543487cfe67dfc47129e45e76f3
There was an issue where Wanda appeared as a thin line. The reason is
that calling gtk_widget_set_size_request() in a size_allocate() handler
doesn't work. So use an idle function for this.
Also, only call gtk_widget_set_size_request() if really needed.
|
|
|
|
|
|
|
|
Enable the force-redraw code unconditionally so it can function from the idle callback regardless of child->parent_relative_bg = TRUE/FALSE as it seems to now always be needed
|
|
fixes https://github.com/mate-desktop/mate-panel/issues/594
|
|
fixes https://github.com/mate-desktop/mate-panel/issues/594
|
|
fixes https://github.com/mate-desktop/mate-panel/issues/594
Note: min value is 75 in my tests for ukraine language
Reduced the margin, as it seemed to be the direct cause of a theme-independent jump.
|
|
fixes https://github.com/mate-desktop/mate-panel/issues/594
Note: in my language setting width_chars to 20 is minimum value to avoid
a jumping clock UI, if hovering over another location which use another day.
Maybe we need to increase the chosen value for other languages.
|
|
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/570
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=cc99dca
|
|
seems that function doesn't work proper, see
https://developer.gnome.org/gtk3/stable/GtkSizeGroup.html#gtk-size-group-set-ignore-hidden
|
|
Fixes https://github.com/mate-desktop/mate-panel/issues/520
|
|
seems that function doesn't work proper, see
https://developer.gnome.org/gtk3/stable/GtkSizeGroup.html#gtk-size-group-set-ignore-hidden
|
|
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.
|
|
|
|
This fixes menu positioning on some system tray items when the panel
orientation changed since it was initially started.
|
|
Properly forward orientation to the items. This especially fixes SNI
items height in vertical panels, but affects several other details on
SNI items.
|
|
|
|
These changes have been accidentally removed. The previously used
handler has been added to the code again, which connects to the scroll
event of the WnckPager widget.
|
|
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.
|
|
|
|
|
|
The SNI specification doesn't explicitly state what should happen when
trying to register again an already registered item, so it would seem
only logical to forbid it. Unfortunately, libappindicator tries
re-registering pretty often, and even falls back to System Tray if it
fails. So in practice we need to be forgiving and pretend it's OK,
or we get a duplicate System Tray item for this one.
Fixes #539.
|
|
|
|
|
|
The order was reversed when porting from the previous sorting method.
Part of #521.
|
|
This version check added to version 1.16 backport, let's use it in master too
|
|
|
|
|
|
|
|
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.
|
|
|
|
Force zero padding, margin, border to stop underallocation warnings.
*Note: few themes deliberately use a border here, some (notably Adwaita) inherit it from generic buttons
|
|
Force padding and margins to zero. Borders don't seem to throw warnings here
|
|
|
|
Stops negative allocation warnings unless theme sets a border
|