summaryrefslogtreecommitdiff
path: root/applets
AgeCommit message (Collapse)AuthorFilesLines
2019-01-28Tray: 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
2019-01-28na-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.
2019-01-28na-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.
2019-01-21clock: set horizontal padding for clock-buttonraveit651-2/+2
To make sure we have space left and right inside the button if applet is build-in-process.
2019-01-06Clock: Fix weather icon size selection for panel heightlukefromdc1-2/+29
2019-01-06Clock: ensure weather icon resizes with panellukefromdc1-4/+37
Connect to the "change_size" signal and reload the icon at the correct size
2019-01-06clock: force no button vertical padding and marginlukefromdc1-4/+7
fixes weather-icon problems with some themes
2018-11-26Tray: simplify force-redraw, use code that actually workslukefromdc1-38/+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-08-07Change GTK_CHECK_VERSION to match next gtk+ releaseraveit652-5/+5
2018-07-28applets: Guard against GTK scale-factor fixes on GtkSocketVictor Kareh2-6/+6
2018-07-28window-list: Skip setting size hints until WnckTasklist has items to show.Victor Kareh1-1/+28
2018-07-28applets: Fix runtime error messagesVictor Kareh2-5/+9
2018-07-28GTK 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-28na-tray-child: remove na_tray_child_size_allocatelukefromdc1-46/+0
Remov leftover from GTK2 that may play a role in cutting tray icons
2018-05-12Convert launcher icons to cairo surfacesVictor Kareh3-33/+63
This improves support for HiDPI by loading properly scaled surfaces for launcher and drawer icons. It also Fixes the Show Desktop wncklet to show a surface icon. Other wncklets have their icons determined by libwnck, so they remain as pixbufs. Fixes mate-desktop/mate-desktop#314
2018-04-29clock: fix weird thing in commentsmonsta1-2/+2
result of excessive renaming after forking from GNOME 2 (orbit -> matecorba)
2018-04-29clock: fix copy/paste error which caused use-after-freemonsta1-1/+1
(squashed 7099408402dc41f39e32f4afa3e874e968e879bc + 3b9119b3bb941de61654d45eb693a85f48d56289 for 1.20 branch)
2018-04-28fish: Install fish animations in fish-specific directoryVincent Untz1-1/+1
2018-04-26na-tray: Convert to GResourceraveit654-9/+29
2018-04-26wncklet: Convert to GResourceVincent Untz7-52/+47
origin commits: https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=9fbca7d https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=695d30c https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=00f9870
2018-04-26clock: Use new GdkPixbuf API to load resourcesVincent Untz1-18/+5
origin commit: https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=3c0af36
2018-04-26clock: Convert to GResourceVincent Untz10-55/+96
origin commits: https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=aa2895d https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=695d30c https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=00f9870 https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=9ade365
2018-04-26fish: Convert to GResourceVincent Untz3-23/+30
origin commits: https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=5478111 https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=695d30c https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=00f9870
2018-03-25workspace-switcher: support i3 WMraveit651-0/+23
Fixes https://github.com/mate-desktop/mate-panel/issues/711
2018-03-25Fix rendering of out-of-process window list with hidpilukefromdc1-2/+2
Fix #754
2018-03-22workspace-switcher: support metacity WMraveit651-0/+15
Fixes https://github.com/mate-desktop/mate-panel/issues/711
2018-03-22Apply fix for workspace-switcher by vkarehlukefromdc1-1/+1
On some machines the workspace-switcher also was rendering half-height at hidpi when out of process
2018-03-22hidpi: fix tray icon spacing with window-scaling > 1lukefromdc2-1/+12
2018-01-31require GTK+ 3.22 and GLib 2.50monsta14-271/+10
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-31fix indent a bitmonsta1-1/+1
2018-01-30workspace-switcher: restore border width and spacing in prefs dialogmonsta1-1/+2
some things got lost after https://github.com/mate-desktop/mate-panel/commit/9d69c70a56c6dd5e73ac909862f90c480e1c4532
2018-01-25avoid deprecated GtkStockPablo Barciela7-22/+22
2018-01-22bump minimum required libwnck version to 3.4.6monsta1-6/+1
and drop WNCK_CHECK_VERSION usage
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-13Update workspace switcher properties dialogMoritz Bruder1-91/+127
Removed deprecated ui elements to make it fully compatible with GTK+ 3 and additionally made the dialog resizeable.
2018-01-09update copyright year to 2018monsta7-7/+7
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 Barciela3-7/+8
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-14wncklet: disconnect signals by data on destroymonsta2-27/+4
do the same as in 4fbe8e24933d367316441166ca448cdb03c6a35f this optimizes 9f43dd5c7c37b84960d06a98a4738ee40d8bfd50
2017-11-14clock: disconnect one more signal handler on destroymonsta1-0/+3
2017-11-09Clock: don't check variables that can never be < 0 for < 0lukefromdc2-6/+6
check them for = 0 instead. Found by cppcheck http://man7.org/linux/man-pages/man3/strftime.3.html This always returns 0 or a positive number of bytes
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