summaryrefslogtreecommitdiff
path: root/applets/notification_area/status-notifier/sn-item.c
AgeCommit message (Collapse)AuthorFilesLines
2020-07-05Use '#include <config.h>' instead of '#include "config.h"'rbuj1-1/+1
2019-09-27sn-item: avoid 'g_type_class_add_private'Pablo Barciela1-15/+12
2019-07-05Remove trailing whitespacesLaurent Napias1-1/+1
2018-01-31require GTK+ 3.22 and GLib 2.50monsta1-77/+0
2018-01-31remove unneeded nested GTK_CHECK_VERSION blockmonsta1-11/+0
it's already inside !GTK_CHECK_VERSION one, so it's a no-op
2017-11-09status-notifier: remove duplicate check found by cppchecklukefromdc1-2/+0
2017-10-16Apply position fix on popup to GTK 3.20 and earlierlukefromdc1-0/+4
2017-10-14GTK 3.22 status notifier: reposition menu when size changeslukefromdc1-0/+2
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.
2017-10-12GTK 3.22/status-notifer Fix menu position if size changed since last shownlukefromdc1-0/+2
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
2017-08-22gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker1-0/+11
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_window gdk_screen_get_monitor_at_point
2017-01-23status-notifier: Move GTK compatibility code inlineColomban Wendling1-2/+65
2017-01-23status-notifier: Simplify compatibility code for GTK 3.20Colomban Wendling1-6/+10
Also, that part was quite fragile.
2017-01-23status-notifier: Fix elements display on GTK < 3.20Colomban Wendling1-1/+1
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.
2017-01-23Add compatibility for GTK 3.14Colomban Wendling1-0/+2
2017-01-23Lower GLib dependencyColomban Wendling1-9/+5
2017-01-23Add StatusNotifier support to the Notification Area appletColomban Wendling1-0/+491
The StatusNotifier part of the implementation is based off gnome-panel's status-notifier applet.