summaryrefslogtreecommitdiff
path: root/applets
AgeCommit message (Collapse)AuthorFilesLines
2023-07-31wayland-tasklist: really set maximum label widthlukefromdc1-1/+4
*Otherwise taskbuttons for programs using URLs or filenames in the window name can balloon across the whole taskbar
2023-07-28wayland tasklist: fit buttons to tasklist, limit button size, hide contents ↵lukefromdc1-5/+237
as necessary *Empty space between buttons removed *padding in buttons similar to x11 *Vertical panel: do not modify buttons, they just plain work! *We have a working window list on vertical panels in wayland only *Horizontal panels: *expand buttons like in X11 until more expanded buttons won't fit *When expanded buttons won't fit, resize buttons to fit tasklist *When ellipsized text plus icon won't fit, remove the label *When one more button with icon won't fit, remove the icon *but bring back the (compressable) label as in x11. *Prevents window list buttons disappearing when theme does not set a border
2023-07-26notification-area: stop warning on removallukefromdc1-1/+1
*Use automatic signal handling for changing icon size so this code doesn't get called when the applet is removed
2023-07-20Wayland: ensure tasklist buttons get widget namelukefromdc1-0/+1
*we need this for theming
2023-07-20wayland: stop tasklist overflowing over other appletslukefromdc1-6/+3
*allows up to 20 window buttons on a half screen width window list before overflow
2023-07-11Clock applet/wayland: position calendar window same as in x11Luke from DC2-83/+195
* Clock applet/wayland: position calendar window same as in x11 - Wayland/clock: fix calendar window rendering when moved Ensure the calendar window cannot be "stretched" across the screen if the panel or the applet is moved while the calendar is showing
2023-06-28Fix distribution of applet service filesColomban Wendling4-4/+4
Fix distribution of the applet service files sources when building from an in-process-configured build. This fixes `make distcheck` and tarballs in builds configured with `--with-in-process-applets=all` (or actually any in-process applet). The issue was that the .service.in file was referenced indirectly in EXTRA_DIST, and the variable listed there was only filled in a conditional. Automake is not able to resolve this and see it still should distribute the reference of that variable, even if set conditionally. Fix this by always setting the variable properly, even if it's only used for out-of-process builds.
2023-06-15Wayland, Tray applet: allow in-process applet to load, using SNI only (#1372)Luke from DC5-11/+12
*We cannot load the legacy system tray in Wayland as that requires xembed. *We CAN load the status-notifier (SNI support) *Wayland needs us to explicitly set gtk_button_set_always_show_image to TRUE *Wayland needs us to explicitly set gtk_image_menu_item_set_always_show_image to TRUE
2023-05-17tell dconf-edit about relocatable schemas (#1355)Denis Gorodnichev1-10/+0
* tell dconf-edit about relocatable schemas * self fix for incorrect and duplicated records remove duplicated schemas for currect path remove incorrect schemas for current path * remove clock applet hack * expose mate_panel_applet_settings_new to introspection add "transfer full" annotation to make this method available throught introspection
2023-05-17applets/wncklet/wayland-backend: Add basic icon support (#1275)Consolatis1-2/+31
* applets/wncklet/wayland-backend: add basic icon support This commit uses GTK to find an icon with the same name as the wayland app_id. A more complete implementation would need to search for .desktop files matching the app_id, get the icon name and finally use GTK to find the proper icon based on that name. * applets/wncklet/wayland-backend: add more complete icon support * applets/wncklet/wayland-backend: code style fixup
2023-05-17applets/wncklet/wayland-backend: Add basic context menu (#1276)Consolatis1-5/+110
* applets/wncklet/wayland-backend: Add basic context menu for (un)maximize, (un)minimize and close * applets/wncklet/wayland-backend: code style fixup
2023-03-27Clock Applet: Update date/time and weather after resume from sleep modeGordon Norman Squash1-0/+103
Before this commit, the Clock Applet was unaware of when the system resumed from sleep mode (e.g. suspend or hibernate). This meant that, if the user suspended the system and then woke it up some time later, the clock might not show the real current time, but instead would continue to show the time at which the system was suspended for up to a minute after the system woke up. This could be confusing to the user if they peered up at the clock immediately after, say, opening their laptop lid. This commit connects to ConsoleKit or (if available) systemd-logind via D-Bus, and listens for a signal that indicates when the system wakes up from sleep mode. When the system does wake up, the Clock Applet updates the date/time immediately, and also updates all the weather/temperature readings if possible. Note that if logind is missing, ConsoleKit2 is required for this feature to work; the original ConsoleKit lacked the signal required to implement this feature. This should not be a problem since it is unlikely that anyone would even consider using the original ConsoleKit in this day and age.
2023-02-14Update window-list.cNik Soggia1-1/+23
Fix for "no option to disable middle-click to close in window list" https://github.com/mate-desktop/mate-panel/issues/962#issuecomment-1418934577
2023-02-14Update window-list.uiNik Soggia1-1/+59
Fix for "no option to disable middle-click to close in window list" https://github.com/mate-desktop/mate-panel/issues/962#issuecomment-141893457
2023-02-14Update org.mate.panel.applet.window-list.gschema.xml.inNik Soggia1-0/+5
Fix for "no option to disable middle-click to close in window list" https://github.com/mate-desktop/mate-panel/issues/962#issuecomment-1418934577
2023-01-14wncklet: center previews when scaling is enabledBalazs Endresz1-16/+6
2023-01-14wncklet: fix incorrect preview positions for multiple monitorsBalazs Endresz1-5/+2
2022-12-27wncklet: disable preview centering when scaling is enabledBalazs Endresz1-6/+23
2022-12-27wncklet: center preview windows when grouping is enabledBalazs Endresz1-20/+59
2022-12-23wncklet: center preview windowsBalazs Endresz1-12/+51
2022-12-02windows-list.ui: lower gtk3 required versionraveit651-1/+1
2022-06-28clock: Fix memory leakColomban Wendling1-1/+2
2022-06-02notification_area: Reduce lifetime of the settings local variable (#1309)Robert Antoni Buj Gelonch1-2/+2
2022-04-26wncklet: Fix crash thumbnailing dying or otherwise inaccessible windowsColomban Wendling1-0/+8
Fixes https://github.com/mate-desktop/mate-desktop/issues/478
2022-04-22Register SNI host only if SNI is enabledIlya Fedin1-1/+6
This prevents duplication of tray icons
2022-03-18wncklet: Condition 'sdd->wnck_screen!=NULL' is always falserbuj1-7/+12
2022-03-18clock: cast from function call of type 'gdouble' to non-matching typerbuj1-3/+3
2022-02-20wncklet: do not exceed workspace number when setting n_rowsrbuj1-4/+7
2022-01-26Fix implicit conversion changes signedness: 'gboolean' to 'guint'rbuj2-2/+2
2022-01-21wncklet: The values stored in the wrapper hash table are incorrectrbuj1-16/+2
2022-01-18notification_area: fix build warning -Wbad-function-castrbuj1-6/+10
2022-01-02clock: fix memory leakrbuj1-0/+2
2021-12-20Fix some -Wsign-compare warningsrbuj2-7/+7
2021-12-20Remove unnecessary cast in g_signal_connect* callrbuj9-75/+157
2021-12-19Use dashes instead of underscores in signal namesrbuj10-50/+50
2021-12-19clock: gtk_entry_set_alignment in clock.uirbuj2-3/+3
2021-12-19clock: gtk_entry_set_width_chars in clock.uirbuj2-3/+3
2021-12-19clock: Upgrade clock.uirbuj1-294/+340
2021-12-19clock: Define _clock_get_widget instead of using one sentence methodrbuj1-7/+2
2021-12-19clock: simplify temperature_unit_changed and speed_unit_changedrbuj1-22/+23
2021-12-19clock: fix temperature_unit_changed and -Wsign-compare warningsrbuj1-7/+13
2021-12-19Use GLib's new g_clear_signal_handler() function to simplify coderbuj1-2/+10
2021-12-16Use g_clear_pointer() and g_clear_object()rbuj10-101/+38
2021-12-11Use a blank line at mostrbuj17-33/+0
2021-10-19sn-dbus-menu-item: fix include guardrbuj1-1/+1
2021-09-02fix show window thumbnails check buttonmbkma2-15/+14
adapt ui file to reverted window-list.c
2021-09-02Revert "window-list.c: use g_settings_* functions directly instead of using ↵mbkma1-104/+355
stored values" This reverts commit ce8167e1b498e47ca6f667f83acaf21d407135bb.
2021-07-28Fix clock applet add location crashzhuyaliang2-3/+3
2021-06-10workspace-switcher: support xmonad WMmu1-1/+19
2021-05-09window-list.c: use g_settings_* functions directly instead of using stored ↵mbkma1-355/+104
values - use g_settings_bind when possible