summaryrefslogtreecommitdiff
path: root/applets
AgeCommit message (Collapse)AuthorFilesLines
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+ releaseraveit652-5/+5
2018-07-27applets: Guard against GTK scale-factor fixes on GtkSocketVictor Kareh2-6/+6
2018-07-26window-list: Skip setting size hints until WnckTasklist has items to show.Victor Kareh1-1/+28
2018-07-25applets: Fix runtime error messagesVictor Kareh2-5/+9
2018-07-12fish: avoid deprecated 'gtk_window_set_wmclass'Pablo Barciela1-5/+0
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-06-06workspace-switcher: provide themed fallback colorVictor Kareh1-11/+22
When a theme does not specify a color for the highlighted workspace, we can look it up from the current theme and provide that as a fallback color. Fixes #807
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-28clock: fix weird thing in commentsmonsta1-2/+2
result of excessive renaming after forking from GNOME 2 (orbit -> matecorba)
2018-04-28clock: fix actual copy/paste error which caused use-after-freemonsta1-2/+2
also reverts 7099408402dc41f39e32f4afa3e874e968e879bc - not needed anymore
2018-04-28clock: fix use-after-freemonsta1-1/+1
closes https://github.com/mate-desktop/mate-panel/issues/791
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-04-15fish.c: avoid 'gtk_dialog_new_with_buttons' with stock idPablo Barciela1-6/+30
2018-04-14window-list.ui: avoid GtkVBox and GtkButton:use-stockPablo Barciela1-54/+97
2018-04-14workspace-switcher.ui: avoid deprecated GtkButton:use-stockPablo Barciela1-7/+19
2018-04-12fish.ui: avoid deprecated:Pablo Barciela1-97/+160
avoid deprecated: GtkVBox GtkHBox GtkTable GtkLabel:ypad GtkButton:use-stock
2018-04-11clock.ui: avoid deprecated:Pablo Barciela1-476/+570
avoid deprecated: GtkTable GtkVBox GtkHBox GtkVButtonBox GtkHButtonBox GtkButton:use-stock GtkImage:stock
2018-03-25workspace-switcher: support i3 WMraveit651-0/+23
Fixes https://github.com/mate-desktop/mate-panel/issues/711
2018-03-22workspace-switcher: support metacity WMraveit651-0/+15
Fixes https://github.com/mate-desktop/mate-panel/issues/711
2018-03-21Apply 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-21Fix rendering of out-of-process window list with hidpilukefromdc1-2/+2
Fix #754
2018-03-20hidpi: 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