summaryrefslogtreecommitdiff
path: root/applets/notification_area
AgeCommit message (Collapse)AuthorFilesLines
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-08-16Add a gsettings key to enable/disable SNI Support (#600)Clement Lefebvre1-6/+13
2017-08-13avoid deprecated gdk_screen_get_width/heightZenWalker1-2/+2
2017-07-29don't use deprecated gtk_show_urilukefromdc1-2/+4
2017-07-16avoid deprecated gdk_screen_get_numberZenWalker3-11/+11
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