summaryrefslogtreecommitdiff
path: root/applets
AgeCommit message (Collapse)AuthorFilesLines
2018-03-18status-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-03-18status-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-03-18Fix 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
2018-01-06status-notifier: properly handle the NULL case for itemslukefromdc1-2/+4
patch by https://github.com/supermaz
2018-01-06status-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
2018-01-06status-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
2018-01-06status-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-18status-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-11-16wncklet: disconnect signal handlers on destroylukefromdc2-20/+28
Stop segfaults, warnings on removing in-process switcher, window-list Fixes window list, workspace switcher. Window menu and show desktop no warnings or segfaults on removal when built in process (squashed 9f43dd5c7c37b84960d06a98a4738ee40d8bfd50 + 2b17f4f461cff056ab0f4687a9ac673a16933f7c for 1.18 branch)
2017-11-16clock: disconnect one more signal handler on destroymonsta1-0/+3
2017-11-13clock:disconnect signal handlers on destroylukefromdc1-0/+3
Don't just check for the clock's existance and return if it has been destroyed, disconnect them entirely when the clock is destroyed
2017-11-07Apply position fix on popup to GTK 3.20 and earlierlukefromdc2-2/+8
2017-11-07GTK 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-11-07GTK 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-11-07Fix crashes on moving/removing applets with glib 2.53.4 or laterlukefromdc1-0/+4
*On destroying applet disconnect signals for functions that otherwise segfaults with glib 2.53.4 or later. *Fish: it's not always enough for a function to return immediately if applet destroyed anymore *panel-action-button: suppress a warning
2017-11-06Add a gsettings key to enable/disable SNI Support (#600)Clement Lefebvre1-6/+13
2017-07-11system 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-07-02clock: change size_reguestraveit651-1/+1
fixes https://github.com/mate-desktop/mate-panel/issues/594
2017-07-02clock: set a default width for calendarWindowraveit651-0/+1
fixes https://github.com/mate-desktop/mate-panel/issues/594
2017-07-02clock: set a margin_start for home iconraveit651-0/+1
fixes https://github.com/mate-desktop/mate-panel/issues/594 Note: min value is 75 in my tests for ukraine language Reduced the margin, as it seemed to be the direct cause of a theme-independent jump.
2017-07-02clock: set width_chars for time labelraveit651-0/+1
fixes https://github.com/mate-desktop/mate-panel/issues/594 Note: in my language setting width_chars to 20 is minimum value to avoid a jumping clock UI, if hovering over another location which use another day. Maybe we need to increase the chosen value for other languages.
2017-06-11status 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-06-08clock: drop deprecated gtk_size_group_set_ignore_hiddenmonsta2-3/+0
port of 6ae0ea92a925fae699a608b12d2274d52c12695d + 4de86661f4a6f67285333c67342c287f99deffeb
2017-05-24clock: properly handle visibility of edit buttonAlberts Muktupāvels1-3/+14
Fixes https://github.com/mate-desktop/mate-panel/issues/570 taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=cc99dca
2017-05-24clock: move GtkButton in another horizontal GtkBox parentraveit651-3/+2
Fixes https://github.com/mate-desktop/mate-panel/issues/520
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-16status-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-11update copyright year to 2017monsta6-6/+6
2017-04-10system-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-10notification-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-04-03Reenable workspace switcher wrappingMoritz Bruder1-0/+112
These changes have been accidentally removed. The previously used handler has been added to the code again, which connects to the scroll event of the WnckPager widget. port of 9b8f9e8147e27e19eb08a262a140b937051545b9 + fix from 9705869fdcf0f31bc05b8454cd7ec60b7b489234
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-28remove deprecated sys/timeb.h header, as nothing uses itRobert Nagy1-1/+0
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-30window-list: add GTK 3.20 version check to css forcing zero paddinglukefromdc1-3/+4
This version check added to version 1.16 backport, let's use it in master too
2017-01-30clock: fix remaining deprecation for GTK+ >= 3.20monsta1-0/+8
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