[gnome-shell] endSessionDialog: Remove "Restart" option from shutdown dialog



commit 1fa1333e13ceeed1bba752f30e72bf3014a499fb
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Jul 1 16:50:02 2020 +0200

    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

 js/ui/endSessionDialog.js | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/js/ui/endSessionDialog.js b/js/ui/endSessionDialog.js
index 263bea3241..00dd9b220e 100644
--- a/js/ui/endSessionDialog.js
+++ b/js/ui/endSessionDialog.js
@@ -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'),
     }],


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]