endSessionDialog: apply updates by default
Users can still uncheck the box to avoid applying updates, but by default we will encourage the user to update. Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2427
This commit is contained in:
parent
66c4b1a8b6
commit
ddb85c03c3
@ -653,7 +653,7 @@ class EndSessionDialog extends ModalDialog.ModalDialog {
|
||||
|
||||
_setCheckBoxLabel(this._checkBox, dialogContent.checkBoxText || '');
|
||||
this._checkBox.visible = dialogContent.checkBoxText && updatePrepared && updatesAllowed;
|
||||
this._checkBox.checked = updatePrepared && updateTriggered;
|
||||
this._checkBox.checked = this._checkBox.visible;
|
||||
|
||||
// We show the warning either together with the checkbox, or when
|
||||
// updates have already been triggered, but the user doesn't have
|
||||
|
Loading…
Reference in New Issue
Block a user