summaryrefslogtreecommitdiff
path: root/applets
AgeCommit message (Collapse)AuthorFilesLines
2017-04-11update copyright year to 2017monsta6-6/+6
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-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
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.
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.
2016-11-21move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta21-1392/+3
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 onemonsta4-14/+14
2016-11-21fix indent a bitmonsta1-3/+3
2016-11-09clock: fix indent somewhatmonsta5-1699/+1699
2016-11-08clock: remove unused #includemonsta1-1/+0
2016-10-21clock: update tooltip only when new text is differentBłażej Szczygieł1-9/+16
This can prevent problems with OpenGL on some drivers (see #397)
2016-10-20GTK+-3 Calendar Window: force minimum sizelukefromdc1-0/+3
Force minimum width for calendar window to stop jumping (on locations open/close) in themes that don't enlarge calendar from the rather small default. Set the minimum height smaller than any theme would set it as it otherwise just puts blank space under the last row rather than spacing out the numbers. Apparently GTK2 behaves differently here. Note that the GTK3 only selectors will have to come back out for the dev-gtk3-migration branch
2016-09-29clock-applet: mark current daySami Farin1-6/+37
2016-07-31clock: remove useless duplicationkajzer1-2/+0
2016-07-28clock: use GtkAbout and update copyrightraveit651-3/+2
2016-07-28window-list: use GtkAbout and update copyrightraveit651-2/+2
2016-07-28show-desktop: use GtkAbout and update copyrightraveit651-3/+2
2016-07-28workspace-switcher: use GtkAbout and update copyrightraveit651-2/+2
2016-07-28window-menu applet: use GtkAbout and update copyrightraveit651-3/+2
2016-07-28na: : use GtkAbout and update copyrightraveit651-4/+3