summaryrefslogtreecommitdiff
path: root/applets/notification_area
AgeCommit message (Collapse)AuthorFilesLines
2020-05-25Fix some cast-function-type warnings introduced in GCC 8rbuj3-3/+10
2020-03-02Do not collect the translation for Iconrbuj1-1/+1
2020-01-12Update copyright to 2020raveit651-1/+1
2019-12-04status-notifier: Render menu items as cairo surfaceVictor Kareh1-2/+8
2019-12-04status-notifier: Render icons as cairo surfaceVictor Kareh1-18/+30
Instead of GdkPixbuf, so that SNI icons can render correctly on HiDPI displays.
2019-11-21na-tray: increase min_icon_size valueraveit651-1/+1
This is better for HIDPI resolution with larger icons. And tray- applet can be displayed in in one row with a full-size top/bottom panel.
2019-11-11migrate from intltool to gettextWu Xiaotian2-11/+12
2019-09-27sn-item: avoid 'g_type_class_add_private'Pablo Barciela1-15/+12
2019-09-27notification_area/main: avoid 'g_type_class_add_private'Pablo Barciela1-5/+2
2019-09-27na-tray: avoid 'g_type_class_add_private'Pablo Barciela1-3/+2
2019-07-05Remove trailing whitespacesLaurent Napias4-12/+12
2019-06-23Make system-tray X11-onlyWilliam Wold2-2/+10
2019-06-21Strings resistanceLaurent Napias1-2/+1
2019-06-20Add supported platform values to *.mate-panel-applet filesWilliam Wold1-0/+1
2019-06-05na-tray: avoid deprecated g_type_class_add_privateAlberts Muktupavels1-5/+2
origin commit: https://gitlab.gnome.org/GNOME/gnome-panel/commit/cb2cc3a
2019-03-22na-tray-child: avoid deprecated 'gtk_widget_set_double_buffered'Pablo Barciela1-7/+0
2019-02-17Ensure proper translation of the about dialog titlerbuj1-0/+1
Note that GTK+ sets a default title of _("About %s") on the dialog window (where %s is replaced by the name of the application, but in order to ensure proper translation of the title, applications should set the title property explicitly when constructing a GtkAboutDialog https://developer.gnome.org/gtk3/stable/GtkAboutDialog.html
2019-02-15Make translatable the copyright in about dialogrbuj1-7/+4
2019-01-29fix crash on removing traylukefromdc2-2/+3
*clear applet gsettings on dispose to stop crash and memory leak introduced in github.com/mate-desktop/mate-panel/commit/10b9c30fc79de5f8d9516ba153df233c4968da65 *tray: fix misplaced g_return_if_fail check
2019-01-29Notification area: error if compiling without X11 supportWilliam Wold7-2/+43
2018-12-30Tray: Fix too-wide icon spacing after mate-polkit has been used w snilukefromdc1-0/+5
Note that vertical and horizontal panels require different options in the grid, as "homogenous" is needed in rows for horizontal panels and columns in vertical panels to prevent icon rendering problems including icons growing without limit when the tray is moved from a horizontal to a vertical panel
2018-11-05notification-area-preferences-dialog.ui: avoid GtkButton:use-stockPablo Barciela1-3/+9
2018-10-20na-tray: add preferences dialog and applet menu entryFabien Broquard5-0/+262
The only option in the preferences is a GtkSpinButton for the user to be able to set the icon sizes easily without having to use dconf-editor.
2018-10-20na-tray: wide panels, add GSettings to the appletFabien Broquard4-2/+49
The new GSettings allow to change and remember the minimum icon size for the grid. The default icon size is set at 24px.
2018-10-20na-tray: wide panels, convert main GtkBox display to GtkGridFabien Broquard2-56/+135
New grid sorting/display functions to arrange notification area icons in a self reorganising grid main changes in: item_added_cb(), notification_notify() -> refresh_notify(). update_size_and_orientation() is no longer needed the grid auto arranges on any size-allocation which includes orientation changes. Grid is now refreshed with refresh_grid()/determine_grid_properties()/reorder_items_with_data(). based on the min_icon_size property the main applets' code can call na_grid_set_min_icon_size() to update the grid icon size.
2018-10-20na-tray: wide panels, preliminary batch box to grid renameFabien Broquard5-91/+78
box/Box/BOX changed to grid/Grid/GRID as a preliminary step to prepare for changing GtkBox in na-box/na-grid to a GtkGrid to make the notification area work well on vertical and wide panels note: even if everything is renamed to grid, the GtkWidget is still a GtkBox thats why GtkBox and GTK_TYPE_BOX have not been renamed.
2018-08-07Change GTK_CHECK_VERSION to match next gtk+ releaseraveit651-2/+2
2018-07-27applets: Guard against GTK scale-factor fixes on GtkSocketVictor Kareh1-3/+3
2018-07-25applets: Fix runtime error messagesVictor Kareh1-1/+1
2018-07-06Tray: simplify force-redraw, use code that actually workslukefromdc1-42/+5
Prevent most corruption of tray icons and reduce by half incomplete rendering of them, replace a never-built code block that could not be built, and replace (deprecated) direct expose handling with gtk_widget_hide/gtk_widget_show_all *Note that this is needed for GTK 3.23 but may help remaining icon issues with GTK 3.22 as well and is simpler code in any case
2018-07-01GTK 3.23: don't cut tray icons too narrow in HiDPI modelukefromdc1-0/+4
Code required to avoid spaces between tray icons with GTK 3.22 cuts tray icons in half with window-scaling=2 in GTK 3.23
2018-07-01na-tray-child: remove na_tray_child_size_allocatelukefromdc1-46/+0
Remov leftover from GTK2 that may play a role in cutting tray icons
2018-06-29na-tray-child: replace deprecated gdk_error_trap_push/pop functionsraveit651-10/+18
2018-04-26na-tray: Convert to GResourceraveit654-9/+29
2018-03-20hidpi: fix tray icon spacing with window-scaling > 1lukefromdc2-1/+12
2018-01-31require GTK+ 3.22 and GLib 2.50monsta6-123/+3
2018-01-31remove unneeded nested GTK_CHECK_VERSION blockmonsta1-11/+0
it's already inside !GTK_CHECK_VERSION one, so it's a no-op
2018-01-25avoid deprecated GtkStockPablo Barciela1-2/+2
2018-01-22status-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-01-22status-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-01-21Fix 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-09update copyright year to 2018monsta1-1/+1
2017-12-28status-notifier: properly handle the NULL case for itemslukefromdc1-2/+4
patch by https://github.com/supermaz
2017-12-27status-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
2017-12-27status-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
2017-12-24status-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-12-17WidthOfScreen and HeightOfScreen implementationPablo Barciela1-2/+3
This commit reverts: https://github.com/mate-desktop/mate-panel/commit/7b2bc7d9f98c6ba8c2c31bdf9605faadb42a7e0e And it applies an alternative to fix the deprecated functions: gdk_screen_get_width gdk_screen_get_height
2017-11-09status-notifier: remove duplicate check found by cppchecklukefromdc1-2/+0
2017-10-16status-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-10-16Apply position fix on popup to GTK 3.20 and earlierlukefromdc2-2/+8