endSessionDialog: Remove "Restart" option from shutdown dialog

Restart will be exposed as a separate action instead of being part
of the shutdown dialog.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2202
This commit is contained in:
Florian Müllner 2020-07-01 16:50:02 +02:00 committed by Florian Müllner
parent 6edd3c4b93
commit 1fa1333e13

View File

@ -68,9 +68,6 @@ const shutdownDialogContent = {
checkBoxText: C_("checkbox", "Install pending software updates"),
showBatteryWarning: true,
confirmButtons: [{
signal: 'ConfirmedReboot',
label: C_('button", "Restart'),
}, {
signal: 'ConfirmedShutdown',
label: C_('button', 'Power Off'),
}],