summaryrefslogtreecommitdiff
path: root/applets/notification_area/status-notifier
AgeCommit message (Collapse)AuthorFilesLines
2019-12-04status-notifier: Render menu items as cairo surfaceVictor Kareh1-2/+8
2019-12-04status-notifier: Render icons as cairo surfaceVictor Kareh1-18/+30
Instead of GdkPixbuf, so that SNI icons can render correctly on HiDPI displays.
2019-09-27sn-item: avoid 'g_type_class_add_private'Pablo Barciela1-15/+12
2019-07-05Remove trailing whitespacesLaurent Napias2-2/+2
2018-07-25applets: Fix runtime error messagesVictor Kareh1-1/+1
2018-01-31require GTK+ 3.22 and GLib 2.50monsta3-81/+2
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
2018-01-22status-notifier: don't crash if tooltip has wrong typemonsta1-0/+8
fixes the second issue mentioned in https://github.com/mate-desktop/mate-panel/issues/686 ported from: https://git.gnome.org/browse/gnome-panel/commit/?id=585c6727a807f0160e79f42a1f17350cc6df0d78
2018-01-22status-notifier: don't crash if menu layout has wrong typemonsta1-0/+9
fixes https://github.com/mate-desktop/mate-panel/issues/686 ported from: https://git.gnome.org/browse/gnome-panel/commit/?id=a08f238147660b3d70e5eebd8d24707711424719
2018-01-21Fix rendering of radio buttons in status notifierlukefromdc1-1/+5
*Ensure only the actually selected radio button is shown as checked, not all the radio buttons *Note that this works so long as each menu created by a single indicator creates no more than one groups of radio buttons, the usual case *Also set ATK_ROLE_RADIO_MENU_ITEM for any radio menu items created by an indicator as this code otherwise would cause Orca to call them check menu items
2017-12-28status-notifier: properly handle the NULL case for itemslukefromdc1-2/+4
patch by https://github.com/supermaz
2017-12-27status-notifier: handle wrong-size icons called by pathlukefromdc1-0/+4
Ensure icons called by filename and path instead of icon-name get scaled to match other tray icons
2017-12-27status-notifier: load icons specified by pathlukefromdc1-0/+4
Fix for https://github.com/mate-desktop/mate-panel/issues/695 and similar failures to load icons when the application calls for a path and not an icon name
2017-12-24status-notifier: fix failure to show icon for missing iconlukefromdc1-1/+4
Fix 1px wide invisible icon in cases such as https://github.com/mate-desktop/mate-panel/issues/695
2017-11-09status-notifier: remove duplicate check found by cppchecklukefromdc1-2/+0
2017-10-16status-notifier: hide mate-polkit icon if passivelukefromdc1-1/+7
This needs to be special cased, and requires a change in mate-polkit to work
2017-10-16Apply position fix on popup to GTK 3.20 and earlierlukefromdc2-2/+8
2017-10-14GTK 3.22 status notifier: reposition menu when size changeslukefromdc2-0/+4
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-05-29status notifier: follow same menu theme as rest of panellukefromdc1-0/+15
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
2017-05-08status-notifier: fix crash on unknown signal namemonsta1-1/+1
fixes https://github.com/mate-desktop/mate-panel/issues/571 taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=f93821cc77892c7b262866d04bd8aa26ddafa154
2017-04-15status-notifier: Do not hide passive itemsColomban Wendling1-3/+2
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.
2017-03-30status-notifier: Fix handling of icon-padding style propertyColomban Wendling3-1/+60
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.
2017-03-13status-notifier: Plug a memory leakv1.18.0Colomban Wendling1-0/+1
2017-01-25status-notifier: Prefer not to scale theme iconsColomban Wendling1-6/+42
2017-01-25status-notifier: prefer not to scale advertised pixmapsAlexei Sorokin1-57/+25
2017-01-24status-notifier: Make SnFlatButton GPLv2+Colomban Wendling2-2/+2
It never was intended to be v3+ while upstream is v2+, so fix it.
2017-01-24status-notifier: Fix item icons transparencyColomban Wendling1-0/+19
2017-01-23status-notifier: Shut GCC upColomban Wendling1-1/+3
2017-01-23status-notifier: avoid useless warnings about missing propertiesAlberts Muktupāvels1-0/+6
2017-01-23status-notifier: Remove custom image menu item classColomban Wendling4-300/+32
It's only there because GtkImageMenuItem is deprecated, it doesn't offer any original features.
2017-01-23status-notifier: Move GTK compatibility code inlineColomban Wendling6-173/+69
2017-01-23status-notifier: Simplify compatibility code for GTK 3.20Colomban Wendling4-64/+10
Also, that part was quite fragile.
2017-01-23status-notifier: Don't add extra padding around the iconsColomban Wendling1-7/+1
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.
2017-01-23status-notifier: Fix elements display on GTK < 3.20Colomban Wendling5-3/+241
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 Wendling8-0/+233
2017-01-23Lower GLib dependencyColomban Wendling6-20/+74
2017-01-23Add StatusNotifier support to the Notification Area appletColomban Wendling18-0/+4060
The StatusNotifier part of the implementation is based off gnome-panel's status-notifier applet.