summaryrefslogtreecommitdiff
path: root/applets
AgeCommit message (Collapse)AuthorFilesLines
2019-05-09window-list: Show window previews on hoverVictor Kareh3-7/+417
When hovering on taskbar entries, display a popup with a thumbnail of the associated window. Popup goes away when leaving the button. If a window has not been mapped since the applet started, it will not display a thumbnail. Once mapped, however, it will use its latest available thumbnail as preview, even when minimized. Thumbnails can be turned on or off, and the size can be changed in the applet preferences dialog.
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 titlerbuj7-0/+7
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 dialogrbuj7-44/+23
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-29Applets: only compile X11 applets when X11 is enabledWilliam Wold1-2/+6
2019-01-29Clock: Wayland supportWilliam Wold2-2/+9
2019-01-29wncklet: Error if compiling without X11 supportWilliam Wold2-0/+8
2019-01-29Notification area: error if compiling without X11 supportWilliam Wold7-2/+43
2019-01-17clock: 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-07Store fish surface size to enable rendering without backend specific codeWilliam Wold1-2/+11
2019-01-07Remove unused screen variable in fish appletWilliam Wold1-3/+0
2019-01-07Remove X specific functions from fish appletWilliam Wold1-11/+9
2019-01-03Clock: Fix weather icon size selection for panel heightlukefromdc1-2/+29
2019-01-03Clock: ensure weather icon resizes with panellukefromdc1-4/+37
Connect to the "change_size" signal and reload the icon at the correct size
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-12-29clock: force no button vertical padding and marginraveit651-5/+7
fixes weather-icon problems with some themes
2018-12-12clock.c: Force negative margin, not passing on clockbuttonlukefromdc1-5/+6
Allow themers to set padding on the clock without cutting the weather icons
2018-11-14Migrate mate-panel from dbus-glib to gdbusyetist1-98/+90
- Code optimization - Put GDBusProxy in PanelSessionManager struct
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+ 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