summaryrefslogtreecommitdiff
path: root/mate-panel
AgeCommit message (Collapse)AuthorFilesLines
2022-06-08applet: SMALL_ICON_SIZE macro is not used [-Wunused-macros]rbuj1-2/+0
2022-06-01Add "center-stick" capability applets on the panelThe Squash19-196/+428
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-03-23fix undefined reference to g_clear_signal_handler (glib < 2.62)rbuj1-2/+0
2022-03-18panel-multimonitor: Condition '*monitors_ret>0' is always falserbuj1-6/+8
2022-01-26Fix implicit conversion changes signedness: 'gboolean' to 'guint'rbuj10-54/+54
2022-01-18panel-run-dialog: address of array 'dent->d_name' will always evaluate to 'true'rbuj1-2/+1
2021-12-20panel-toplevel.h: fix indentrbuj1-56/+56
2021-12-20Fix some -Wsign-compare warningsrbuj15-46/+56
2021-12-20Use dashes for applet-[added|removed|move], back-change, size-changerbuj2-10/+10
2021-12-20Remove unnecessary cast in g_signal_connect* callrbuj16-110/+126
2021-12-19Upscale in panel_xutils_set_strutrbuj4-24/+13
2021-12-19panel-toplevel: fix the computed dimension for (non) auto hidden panelsrbuj1-1/+1
2021-12-19struts: add support for _GNOME_WM_STRUT_AREAAlberts Muktupāvels3-6/+35
In addition to existing properties set also new _GNOME_WM_STRUT_AREA property that allows creating struts between monitors. https://mail.gnome.org/archives/wm-spec-list/2018-December/msg00000.html https://gitlab.freedesktop.org/xdg/xdg-specs/merge_requests/22 https://gitlab.gnome.org/GNOME/gnome-panel/merge_requests/3 Upscale area strut because of 73e025b0eab94fe06cdafee61c347fb5fe6f7545
2021-12-19Use dashes instead of underscores in signal namesrbuj13-52/+52
2021-12-19Use GLib's new g_clear_signal_handler() function to simplify coderbuj2-103/+79
2021-12-16Use g_clear_pointer() and g_clear_object()rbuj18-231/+85
2021-12-14panel-test-applets: fix memory leakrbuj1-2/+2
2021-12-14Fix build warnings about missing field initializerrbuj4-4/+4
2021-12-11Use a blank line at mostrbuj35-71/+0
2021-08-26fix mate-desktop-item-edit executablembkma1-0/+4
2021-08-03Use absolute path g_get_home_dir replaces "~/"zhuyaliang1-0/+15
2021-07-15Add the function of monitor panel launcher fileszhuyaliang2-0/+42
2021-06-22update copyright to 2021raveit65113-0/+113
2021-04-25Replace deprecated GCompletion with GtkEntryCompletionzhuyaliang1-53/+37
2021-04-23struts: add panel_xutils_unset_strutraveit653-1/+27
origin commit: https://gitlab.gnome.org/GNOME/gnome-panel/-/commit/3e96a81
2021-04-23panel-xutils: tab to spacesraveit652-167/+167
- Use 4 spaces at the beginning of a line
2021-04-23panel-struts: tab to spacesraveit652-404/+404
- start lines with 4 spaces
2021-04-07Make Recent Documents list in Places menu of configurable length (#1216)Gordon N. Squash4-3/+18
2021-04-04Add panel-ditem-editor-dialog.uirbuj4-256/+432
2021-01-16Update copyright to 2021rbuj1-1/+1
2021-01-07panel-toplevel: declaration of 'allocation' shadows a parameterrbuj1-4/+5
2021-01-07panel-menu-items: declaration of 'item' shadows a previous localrbuj1-9/+9
2021-01-07Local variable shadows outer variable warning reported by cppcheckrbuj2-36/+28
2021-01-06 Variable is reassigned a value before the old one has been usedrbuj2-10/+2
2021-01-06panel-properties-dialog: show dialog on _present instead of _newrbuj1-17/+9
2020-12-15Signal name is 'value-changed' for GtkSpinButtonrbuj1-2/+2
2020-12-15applet: Avoid a NULL pointer dereferencerbuj1-5/+3
2020-12-11cppcheck warning: The if condition is the same as the previous onerbuj1-4/+3
2020-12-06panel-applets-manager: Boilerplaterbuj1-57/+31
2020-12-05Fix solid color controls after disabling compositorrbuj5-30/+25
2020-12-04Don't enable transparency slider if not supportedWilliam Wold1-1/+11
2020-12-04Don't try to use transparent color if not supportedWilliam Wold1-1/+7
2020-12-04Fix the opaque label in panel-properties-dialog.uiWilliam Wold1-15/+15
2020-12-04Drop panel_profile_set_background_gdk_rgba() and getter (duplicates of ↵William Wold3-23/+4
panel_profile_set_background_color ())
2020-12-04Remove get_background_color() (duplicate of ↵William Wold1-17/+1
panel_profile_get_background_gdk_rgba())
2020-12-04Drop dead panel_background_set_opacity()William Wold2-22/+0
2020-12-04Drop background compositingWilliam Wold5-722/+6
2020-11-05Use g_task... replace obsolete function g_ simple....zhuyaliang1-126/+102
2020-10-21Link with libwaylandWilliam Wold1-3/+2
2020-09-27Use gdk_set_allowed_backends () instead of custom checkWilliam Wold1-13/+8