Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
|
|
|
|
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.
|
|
and require libmate-desktop >= 1.17
WARNING: use GTK+3 build of libmateweather for this build.
that lib is not migrated to GTK+3 only as we will possibly
use libgweather instead of it.
|
|
|
|
|
|
|
|
|
|
This reverts commit c57aa66fc8ddcc9baa21446e87c9332f11e0abed.
|
|
|
|
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=bcff4d1
|
|
Those properties don't work anymore in themes and spam only the logs.
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=e55b759
|
|
Fix for following warning from GtkStatusIcon:
gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 26.
https://bugzilla.gnome.org/show_bug.cgi?id=755129
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=e2bd90e
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=4367578
|
|
Taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=d1dd54e
|
|
since gtk+-3.10 screen is always 1
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=be976a0
https://git.gnome.org/browse/gnome-panel/commit/?id=272f680
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=e8dfa4b
|
|
|
|
|
|
|
|
|
|
|
|
build fix
restore "Help" and "About" menu items
|
|
Add a new _NET_SYSTEM_TRAY_ICON_SIZE property that is set to the value
of the "icon-size" style property. The result is that all icons in the
tray will be hinted to draw themselves with exactly this pixel size
(16x16, for example).
Bug #645232
Conflicts:
applets/notification_area/na-tray-manager.c
applets/notification_area/na-tray-manager.h
applets/notification_area/na-tray.h
|
|
We were simply never removing the NaTrayChild/GtkSocket object from the
box when the icon/GtkPlug gets removed.
Conflicts:
applets/notification_area/na-tray.c
|