Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
it's already inside !GTK_CHECK_VERSION one, so it's a no-op
|
|
|
|
|
|
Also catch a missed instance of needing to reposition. This stops most cases of a bottom panel menu changing size and ending up too low.
|
|
Mostly fixes serious mispositioning of network-manager applet (indicator mode) menus when connections were changed on last showing of menu and applet is on bottom panel and especially bottom right
|
|
avoid deprecated:
gdk_screen_get_monitor_geometry
gdk_screen_get_monitor_at_window
gdk_screen_get_monitor_at_point
|
|
|
|
Also, that part was quite fragile.
|
|
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.
|