From 76d99deea5b470eb519efb09c5f1e1f3ccb3b179 Mon Sep 17 00:00:00 2001 From: Olivier Duchateau Date: Tue, 10 Jun 2025 15:30:58 +0200 Subject: x11/gnome-shell: update to 47.7 PR: 286697 --- .../files/patch-js_ui_endSessionDialog.js | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 x11/gnome-shell/files/patch-js_ui_endSessionDialog.js (limited to 'x11/gnome-shell/files/patch-js_ui_endSessionDialog.js') 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)); +- } + } + } + -- cgit v1.2.3