summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-04-10Fixes #549Konstantin1-0/+3
2017-04-10properly fit expanded panel to smaller screen sizemonsta1-9/+1
when changing panel orientation or rotating the screen itself, panel might keep its old size, so some applets might appear behind screen edge (until you restart the panel). same thing might happen when enabling hide buttons. fixes https://github.com/mate-desktop/mate-panel/issues/552 upstream commit with detailed problem description: https://git.gnome.org/browse/gnome-panel/commit/?id=fc24d8fa623c4cf841eb5168cb1c250b4a84d4da upstream commit with the actual fix: https://git.gnome.org/browse/gnome-panel/commit/?id=4511f4466df0b163906794b4a32196226ccf90f3 yes, it's somewhat messed up there :)
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-31workspace switcher: handle GDK_SCROLL_SMOOTH and fix build warningmonsta1-3/+5
2017-03-30Reenable workspace switcher wrappingMoritz Bruder1-0/+110
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.
2017-03-30pre-bump versionraveit652-1/+3
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-30Simplify panel description shown when switching panels with the WMColomban Wendling1-57/+8
Fixes #530.
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-20setup custom iconDenis Gorodnichev2-1/+6
restore ability to configure launcher's custom icon which degradated after switching on g_app_info_get_icon also update launcher state after saving launcher's properties.
2017-03-17Revert "Suppress the shutdown option in the panel if LTSP_CLIENT is set"Scott Balneaves1-1/+1
This reverts commit 8c25e1bdd328a8712735c0b00cf4aede7993da1d. LTSP no longer requires this, and it in fact prevents LTSP machines from shutting down. Closes https://github.com/mate-desktop/mate-panel/issues/535
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-03-13release 1.18.0raveit651-1/+1
2017-03-13sync with transifexraveit65114-37095/+31088
2017-03-13update NEWS for 1.18, also add 1.16.1 entriesmonsta1-40/+27
2017-02-07Don't spam accessible name changes when it is translatedColomban Wendling1-5/+5
Fix the logic guarding against updating the name and description so that it properly checks against strings in the same locale. This prevents spamming accessibility 'accessible-name' change events, avoiding some noise when interacting with the panel.
2017-01-31pre-bump versionraveit652-1/+3
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-25po: remove a file without translatable strings from listmonsta1-1/+0
fixes build breakage because of moved file after new tray area changes
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 Wendling45-367/+5952
The StatusNotifier part of the implementation is based off gnome-panel's status-notifier applet.
2017-01-20Add (optional) support for menulibre. https://smdavis.us/projects/menulibre/ ↵Martin Wimpress2-8/+8
(#515) This patch re-purposes the existing fallback support for the now obsolete matemenu-simple-editor to add (optional) support for menulibre. The logic is simple, if menulibre is installed use it in preference to mozo. If menulibre is not available, fallback to mozo. The rationale is this; if you've installed menulibre you want to use it in preference to mozo. Menulibre offers a superset of menu editting capabilities compared to mozo and is growing in popularity. This change will allow distro maintainers to chose which menu editor they want to offer.
2017-01-18Bump version to 1.17.1v1.17.1Martin Wimpress1-13/+45
2017-01-13support desktop actionsDenis Gorodnichev13-212/+255
2017-01-13pre-bump versionraveit652-1/+3
2017-01-10window-list.c: Fix indentlukefromdc1-14/+14
2017-01-09GTK 3.20/3.22: fix warnings from show-desktop buttonlukefromdc1-4/+14
Force zero padding, margin, border to stop underallocation warnings. *Note: few themes deliberately use a border here, some (notably Adwaita) inherit it from generic buttons
2017-01-09GTK 3.20/22: fix warnings from tasklist buttonslukefromdc1-0/+15
Force padding and margins to zero. Borders don't seem to throw warnings here
2017-01-09Remove unused variablelukefromdc1-1/+0
2017-01-09GTK 3.20/22 Clock button: force zero padding and marginlukefromdc1-2/+23
Stops negative allocation warnings unless theme sets a border
2017-01-09Clock: remove non-working signal, fix warninglukefromdc1-1/+6
Comment out size-request signal for label, this no longer works if it ever did. Then comment out function this leaves unused.