summaryrefslogtreecommitdiff
path: root/applets/notification_area
AgeCommit message (Collapse)AuthorFilesLines
2017-07-08system tray: fix hidden icons on image/transparent color BGlukefromdc1-1/+1
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
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-04-06system-tray: Properly propagate orientation changesColomban Wendling1-1/+6
This fixes menu positioning on some system tray items when the panel orientation changed since it was initially started.
2017-04-06notification-area: Fix item orientationColomban Wendling1-4/+4
Properly forward orientation to the items. This especially fixes SNI items height in vertical panels, but affects several other details on SNI items.
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-30status-notifier: Plug a memory leakColomban Wendling1-0/+1
2017-03-24status-notifier-watcher: Allow re-registration of registered items (#543)Colomban Wendling1-0/+14
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.
2017-03-13status-notifier: Plug a memory leakv1.18.0Colomban Wendling1-0/+1
2017-03-13notification area: Fix memory leak sorting itemsColomban Wendling1-0/+2
2017-01-30notification area: Fix system tray icons forced orderingColomban Wendling1-4/+4
The order was reversed when porting from the previous sorting method. Part of #521.
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-23system-tray: Restrict the ordering hack to the system-tray moduleColomban Wendling2-41/+35
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 Wendling10-37/+121
2017-01-23Add StatusNotifier support to the Notification Area appletColomban Wendling44-367/+5946
The StatusNotifier part of the implementation is based off gnome-panel's status-notifier applet.
2016-11-21move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta9-461/+2
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.
2016-11-21check for stable release of GTK+3, not for development onemonsta1-3/+3
2016-07-28na: : use GtkAbout and update copyrightraveit651-4/+3
2016-06-29use gtk_box_new instead of gtk_{h,v}box_new properlySorokin Alexei2-10/+8
2016-05-30na-try-child: add missing include for GTK_Version_Checkraveit651-0/+1
2016-04-06Revert "add new languages and sync with transiflex"raveit651-194/+35
This reverts commit c57aa66fc8ddcc9baa21446e87c9332f11e0abed.
2016-04-06add new languages and sync with transiflexraveit651-35/+194
2016-02-12GTK+3 na-tray-child: fix a Wunused-but-set-variable build warningWolfgang Ulbrich1-0/+2
2016-02-12GTK+3 notification-area: use correct style context stateWolfgang Ulbrich1-0/+5
taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=bcff4d1
2016-02-12GTK+-3.20 notification-area: remove deprecated style propertiesWolfgang Ulbrich1-3/+14
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
2016-02-12GTK+3 notification-area: set minimum size for iconWolfgang Ulbrich1-0/+38
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
2016-02-12Gtk+3 notification-area: don't use deprecated GtkAlignmentWolfgang Ulbrich1-5/+8
taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=4367578
2016-02-12GTK+3 notification-area: don't use deprecated GdkColorWolfgang Ulbrich5-29/+87
Taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=d1dd54e
2016-02-12GTK+3: do not use deprecated n_screensWolfgang Ulbrich2-1/+14
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
2016-02-09notification-area: set css nameWolfgang Ulbrich1-0/+4
taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=e8dfa4b
2016-02-09Gtk+3: Replace deprecated gtk_{v,h}box_newWolfgang Ulbrich1-0/+5
2016-01-23Gtk3: Don't use deprecated gtk_misc_set_alignmentRoy Zhang2-0/+15
2015-08-24removed some suspicious references to win32Monsta1-12/+0
2015-07-14na: fix background transparencyDenis Gorodnichev1-4/+37
2015-07-14na: gtk2: fix buildDenis Gorodnichev2-0/+25
2015-07-14na: restore help & aboutDenis Gorodnichev2-16/+115
build fix restore "Help" and "About" menu items
2015-07-14notification applet: support fixed-sized iconsRyan Lortie4-24/+214
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
2015-07-14na: Fix thin lines appearing when an icon is removedVincent Untz1-0/+34
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