summaryrefslogtreecommitdiff
path: root/mate-panel/panel-action-button.c
AgeCommit message (Collapse)AuthorFilesLines
2023-11-21Remove unused member PanelAction::typeColomban Wendling1-9/+0
> mate-panel/panel-action-button.c:516:26: style: struct member 'PanelAction::type' is never used. [unusedStructMember] > PanelActionButtonType type; > ^
2023-10-05Wayland: Fix force-quit unsupported message dialoglukefromdc1-1/+1
*For some reason "widget" is not being properly passed to this, so use NULL for the parent window
2023-10-05Wayland: Make panel shutdown button work under waylandlukefromdc1-5/+203
*This uses systemd to be able to shutdown when a display manager is running as root *If no session or display manager is running as root, systemd used only to suspend or hibernate *Suspend/hibernate require systemd at this point *If suspend or hibernate not supported error dialog shown if those buttons clicked *If "disable logout" lockdown option set, shut down button cannot be added same as in x11 *If shut down button added to panel and lockout later disabled, same non-responsive button as in x11 *Logind support would be welcome
2022-06-01Add "center-stick" capability applets on the panelThe Squash1-1/+1
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-01-26Fix implicit conversion changes signedness: 'gboolean' to 'guint'rbuj1-1/+1
2021-12-16Use g_clear_pointer() and g_clear_object()rbuj1-2/+1
2021-12-11Use a blank line at mostrbuj1-1/+0
2021-06-22update copyright to 2021raveit651-0/+1
2020-08-05panel-action-button: using enum for accessing an array indexedrbuj1-52/+30
2020-07-05Avoid using single-line cpp commentsrbuj1-1/+1
2019-07-05Remove trailing whitespacesLaurent Napias1-2/+2
2019-05-16[mate-panel] Avoid deprecated g_type_class_add_privateWu Xiaotian1-7/+3
2019-03-10Wayland support for panel-action-button.cWilliam Wold1-3/+23
2018-01-25avoid deprecated GtkStockPablo Barciela1-2/+2
2017-08-22Fix crashes on moving/removing applets with glib 2.53.4 or laterlukefromdc1-0/+3
*On destroying applet disconnect signals for functions that otherwise segfaults with glib 2.53.4 or later. *Fish: it's not always enough for a function to return immediately if applet destroyed anymore *panel-action-button: suppress a warning
2017-05-17action-button: disconnect from GSettings when applet is removedmonsta1-2/+6
fixes runtime warning on applet removal
2016-11-21move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-9/+0
and require libmate-desktop >= 1.17 WARNING: use GTK+3 build of libmateweather for this build. that lib is not migrated to GTK+3 only as we will possibly use libgweather instead of it.
2015-08-29Removed obsolete compatibility codeGymnasiast1-3/+1
2015-01-14use mate_gdk_spawn_command_line_on_screen alwaysMonsta1-8/+1
Closes https://github.com/mate-desktop/mate-panel/pull/273
2014-11-22Gtk3: panel-action-button: Port to GtkStyleContextinfirit1-0/+9
Based on gnome-panel commit: 3507d3ca74233d88f83df5f3f43a52ae2bc306d3 From: Carlos Garcia Campos <[email protected]>
2014-10-13Places menu: don't rely on Caja desktop filesBalló György1-2/+11
This adds better support for other GVFS-compliant file managers (e.g. nautilus, nemo, pcmanfm). Closes https://github.com/mate-desktop/mate-panel/pull/242
2014-10-03Do not assume that session manager GSettings schema is availableBalló György1-5/+8
This removes hard dependency on mate-session-manager (useful for custom environments). Closes https://github.com/mate-desktop/mate-panel/pull/241
2013-12-22Update help uri to the correct locationinfirit1-1/+1
2013-10-26mate-panel: Add GTK3 supportStefano Karapetsas1-0/+9
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-2/+2
2012-10-11migrate mate-panel to gsettingsStefano Karapetsas1-135/+110
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+907