summaryrefslogtreecommitdiff
path: root/applets/notification_area
AgeCommit message (Collapse)AuthorFilesLines
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
2015-07-14na: Add icon-padding style property to NaTrayApplet to set paddingVincent Untz1-0/+13
It can be used this way: NaTrayApplet { -NaTrayApplet-icon-padding: 6; } https://bugzilla.gnome.org/show_bug.cgi?id=583273
2015-07-14na: Rewrite main.c to subclass PanelApplet as NaTrayAppletVincent Untz3-189/+230
This is cleaner, and we'll be able to add style properties to this widget. Conflicts: applets/notification_area/main.c Conflicts: applets/notification_area/main.c
2015-07-14na: Move creating of GtkBox for NaTrayVincent Untz1-22/+1
Do it in init() instead of constructor(), for consistency. It shouldn't matter much, really. Conflicts: applets/notification_area/na-tray.c
2015-03-19notification area: prevent crashmonsta1-1/+1
from upstream commit: https://git.gnome.org/browse/gnome-panel/commit/applets/notification_area/na-tray-manager.c?id=2adbcc5308577d864b09062a3343b9f8dbcdcd7f Closes https://github.com/mate-desktop/mate-panel/pull/291
2014-11-24zero-initialize all signals arraysMonsta1-1/+1
2014-11-23Gtk3: Silence GtkBox deprecation warningsinfirit1-0/+5
2014-11-23Gtk3: notification_area: Port to GtkStyleContextinfirit1-0/+17
Based on gnome-panel commit: 6d390be628ce8fccbfee5c5cca4e240fa391cdda From: Carlos Garcia Campos <[email protected]>
2014-11-23Gtk3: GtkBox is not abstract anymore.infirit1-2/+5
Based on gnome-panel commits, na-tray: Remove unneeded type NaBox: 9313543ecf3f8de10cb14977cd2eccd17e654968 From: Carlos Garcia Campos <[email protected]> na: Move creating of GtkBox for NaTray: 777b913142e61378e60c217c7c609e181202704c From: Vincent Untz <[email protected]>
2014-11-22na: Fix handling of SYSTEM_TRAY_CANCEL_MESSAGEinfirit1-5/+10
We were not looking at the right field for the message ID: the ID is in the 4th field for BEGIN_MESSAGE, but 2nd field for CANCEL_MESSAGE. Taken from gnome-panel commit: 8ff843458425d525b10fc5d9b7bb357248c637c8 From: Vincent Untz <[email protected]>
2014-06-20Fix expanded panels and size allocationKonstantin Pugin1-0/+4
2014-05-17Use gtk_combo_box_text_new for gtk+2infirit1-6/+0
It was introduced in gtk+-2.24
2014-05-16Use gdk_window_get_width also for gtk2infirit1-4/+0
It was introduced in gtk+-2.24
2014-05-16Use GDK_WINDOW_XID for gtk+2 and gtk+3infirit2-12/+3
It was introduced in gdk2 already so clean up the code.
2014-04-28Remove autogenerated filesStefano Karapetsas2-203/+0