summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-22Wayland, hidpi: do not scale buttons in wayland (#1370)Luke from DC1-8/+36
Otherwise they are rendered double-sized and offset. Wayland apparently handles this for us
2023-05-17tell dconf-edit about relocatable schemas (#1355)Denis Gorodnichev4-10/+137
* 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-05-07panel-run-dialog: Add accelerator keys for "list of known applications" (#1359)Matthias Reis1-20/+136
* panel-run-dialog: Add accelerator keys for "list of known applications" in panel run dialog, display modifier keys by using GtkCellRendererAccel * fixup! panel-run-dialog: Add accelerator keys for "list of known applications" in panel run dialog, display modifier keys by using GtkCellRendererAccel * fixup! fixup! panel-run-dialog: Add accelerator keys for "list of known applications" in panel run dialog, display modifier keys by using GtkCellRendererAccel * fixup! fixup! fixup! panel-run-dialog: Add accelerator keys for "list of known applications" in panel run dialog, display modifier keys by using GtkCellRendererAccel * fixup! fixup! fixup! fixup! panel-run-dialog: Add accelerator keys for "list of known applications" in panel run dialog, display modifier keys by using GtkCellRendererAccel
2023-04-04release 1.27.1v1.27.1raveit652-1/+30
2023-04-04tx: sync with transifexraveit65359-496/+707
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-23panel-menu-button: comment out wayland debugging messagelukefromdc1-4/+6
leave the code in place so it can be uncommented and used for further work on wayland
2022-12-02windows-list.ui: lower gtk3 required versionraveit651-1/+1
2022-11-05tx: sync with transifexmbkma359-43602/+45819
2022-10-29tx: update resourcembkma3-109/+125
2022-10-28tx: migrate config filembkma2-16/+40
2022-08-20configure.ac: The macro 'AC_HELP_STRING' is obsoleterbuj1-4/+4
2022-08-20Fix center- and right-sticking of expanding appletsGordon Norman Squash1-26/+121
In a prior commit (38e00280e9d17282717595a05411736a308804c0), I added support to stick applets to the center of the panel, so that no matter the width of the applet or the panel, the applet would always stay at the center of the panel. That commit also added an "end-relative" mode, which is similar to the panel's old "right-stick" feature, except end-relative mode positions the applet's right edge relative to the panel's right edge, whereas right-sticking positioned the applet's left edge relative to the right edge of the panel. The advantage of end-relative positioning is that the applet can resize without moving itself even further to the right than the user intended, whereas if positioned so that there is empty space between the applet and the edge of the panel, right-stuck applets would change the size of that gap (or close it entirely) when the applet resized. Unfortunately, I have since discovered that my original implementation of the center-stick and end-relative positioning of applets was inadequate. Some applets can accept any amount of space between a minimum and their "preferred" size -- if such an applet cannot be allocated its preferred size (perhaps because panel space is scarce), then the applet will be allocated as much space as is available, and the applet will "flex" itself to compensate. Some examples of these "expanding" applets include the Window List (a component of the wncklet included in this package) and the MATE Dock Applet (a third-party panel applet from the Ubuntu MATE project). When writing my original center-stick code, I did not properly take expanding applets into account, and with my original commit, such applets were off-center -- usually way off-center since the code seemed to position such applets based on their minimum size, rather than their actual allocated size. This commit adds center-sticking support for expanding applets. It also works with end-relative expanding applets -- such applets will expand towards the left, thus keeping their right-relative position intact.
2022-06-28panel-applet: Fix leak in no-background code pathColomban Wendling1-2/+3
2022-06-28clock: Fix memory leakColomban Wendling1-1/+2
2022-06-08applet: SMALL_ICON_SIZE macro is not used [-Wunused-macros]rbuj1-2/+0
2022-06-02notification_area: Reduce lifetime of the settings local variable (#1309)Robert Antoni Buj Gelonch1-2/+2
2022-06-01build warning: AC_OUTPUT should be used without argumentsrbuj1-1/+2
2022-06-01Add "center-stick" capability applets on the panelThe Squash26-222/+459
Conventionally, the applets on a MATE Panel are positioned relative to the left edge of the panel (if the panel is horizontal) or the top edge (if the panel is vertical). There has also been some (buggy) support for positioning of applets relative to the right (or bottom) edge of the panel, so that applets on the right side of the panel will stay on the right side even if the user changes screen resolutions or if the panel changes size for some other reason. However, many users want to also place applets at or near the center of their panel(s). There is no such conventional support for positioning applets relative to the center of the panel, so users have positioned applets near the center of the panel -- but the position recorded is relative to the left side of the panel. As such, the applets will almost certainly shift over to the left or right slightly if the panel is ever resized, and the user will have to reposition all those centered applets yet again. This is especially frustrating if the user switches monitors on a regular basis! This patch radically revamps the MATE Panel's positioning framework, and deprecates the original "right-stick" feature. To replace the right-stick feature, this patch instead associates an "edge relativity" setting with each and every panel applet: An applet can be relative to the start (left/ top), end (right/bottom), or center of the panel. This setting can be changed using DConf/GSettings, using a custom panel layout file, or even by simply dragging the applet to the appropriate place on the panel. (Conventionally, applets are not even right-stuck automatically even when the user drags the applet over to the far right of the panel!) As a bonus, when the user drags an applet across the center of the panel, the applet will temporarily "stick" to the very center of the panel, to allow the user to very precisely align any applet they wish.
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-23fix undefined reference to g_clear_signal_handler (glib < 2.62)rbuj1-2/+0
2022-03-18wncklet: Condition 'sdd->wnck_screen!=NULL' is always falserbuj1-7/+12
2022-03-18panel-multimonitor: Condition '*monitors_ret>0' is always falserbuj1-6/+8
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-02-13ci: drop -Wunused-parameter compiler cflag from debian buildraveit651-1/+1
2022-01-26release 1.27.0v1.27.0raveit651-0/+30
2022-01-26tx: pull from transifex serverraveit65167-4288/+5304
2022-01-26tx: update resourceraveit651-282/+282
2022-01-26Fix implicit conversion changes signedness: 'gboolean' to 'guint'rbuj12-56/+56
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-18panel-run-dialog: address of array 'dent->d_name' will always evaluate to 'true'rbuj1-2/+1
2022-01-02clock: fix memory leakrbuj1-0/+2
2021-12-20panel-toplevel.h: fix indentrbuj1-56/+56
2021-12-20Fix some -Wsign-compare warningsrbuj18-54/+64
2021-12-20Use dashes for applet-[added|removed|move], back-change, size-changerbuj2-10/+10
2021-12-20Remove unnecessary cast in g_signal_connect* callrbuj27-192/+287