[gnome-shell/gnome-3-36] Revert "endSessionDialog: apply updates by default"
- From: verdre <jonasd src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-36] Revert "endSessionDialog: apply updates by default"
- Date: Wed, 29 Apr 2020 19:55:52 +0000 (UTC)
commit 0d2d8cf62391229a7b84a8285270eae762ef89fa
Author: Jonas Dreßler <verdre v0yd nl>
Date: Wed Apr 29 18:45:07 2020 +0200
Revert "endSessionDialog: apply updates by default"
Turns out it's not that clear in which cases we want to apply updates
and in which ones we shouldn't. For example one case is when the device
is running on battery, where we currently display a warning, but still
install updates by default.
So let's revert that again for now and hopefully work out a proper
concept for updates in the future.
This reverts commit ddb85c03c370b481173a92b1a4e1560afdddc9b1.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1228
js/ui/endSessionDialog.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/endSessionDialog.js b/js/ui/endSessionDialog.js
index cd6e712482..281d526116 100644
--- a/js/ui/endSessionDialog.js
+++ b/js/ui/endSessionDialog.js
@@ -680,7 +680,7 @@ class EndSessionDialog extends ModalDialog.ModalDialog {
_setCheckBoxLabel(this._checkBox, dialogContent.checkBoxText || '');
this._checkBox.visible = dialogContent.checkBoxText && updatePrepared && updatesAllowed;
- this._checkBox.checked = this._checkBox.visible;
+ this._checkBox.checked = updatePrepared && updateTriggered;
// We show the warning either together with the checkbox, or when
// updates have already been triggered, but the user doesn't have
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]