diff options
author | Olivier Duchateau <duchateau.olivier@gmail.com> | 2025-06-10 15:30:58 +0200 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2025-06-10 15:46:22 +0200 |
commit | 76d99deea5b470eb519efb09c5f1e1f3ccb3b179 (patch) | |
tree | 47243a0d8b90a24e9fa60c8deadc3cc6f9b7ef4b /x11/gnome-shell/files/patch-js_ui_endSessionDialog.js | |
parent | x11-wm/mutter: update to 47.8.1 (diff) |
x11/gnome-shell: update to 47.7
PR: 286697
Diffstat (limited to 'x11/gnome-shell/files/patch-js_ui_endSessionDialog.js')
-rw-r--r-- | x11/gnome-shell/files/patch-js_ui_endSessionDialog.js | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/x11/gnome-shell/files/patch-js_ui_endSessionDialog.js b/x11/gnome-shell/files/patch-js_ui_endSessionDialog.js new file mode 100644 index 000000000000..94b8450f16e6 --- /dev/null +++ b/x11/gnome-shell/files/patch-js_ui_endSessionDialog.js @@ -0,0 +1,36 @@ +--- js/ui/endSessionDialog.js.orig 2025-04-13 15:04:25 UTC ++++ js/ui/endSessionDialog.js +@@ -233,8 +233,6 @@ class EndSessionDialog extends ModalDialog.ModalDialog + }); + + this._loginManager = LoginManager.getLoginManager(); +- this._canRebootToBootLoaderMenu = false; +- this._getCanRebootToBootLoaderMenu().catch(logError); + + this._userManager = AccountsService.UserManager.get_default(); + this._user = this._userManager.get_user(GLib.get_user_name()); +@@ -452,24 +450,6 @@ class EndSessionDialog extends ModalDialog.ModalDialog + }, + label, + }); +- +- // Add Alt "Boot Options" option to the Reboot button +- if (this._canRebootToBootLoaderMenu && signal === 'ConfirmedReboot') { +- this._rebootButton = button; +- this._rebootButtonAlt = this.addButton({ +- action: () => { +- this.close(true); +- let signalId = this.connect('closed', () => { +- this.disconnect(signalId); +- this._confirmRebootToBootLoaderMenu(); +- }); +- }, +- label: C_('button', 'Boot Options'), +- }); +- this._rebootButtonAlt.visible = false; +- this._capturedEventId = this.connect('captured-event', +- this._onCapturedEvent.bind(this)); +- } + } + } + |