[gnome-shell] status/network: Do not disable on login screen



commit 28a42da9475e95373370b5d37694edc96ea80e1a
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Jun 8 00:19:26 2021 +0200

    status/network: Do not disable on login screen
    
    We currently disable all network items on both the lock- and login
    screen. While it makes sense to be very restrictive on the lock screen,
    there are some (fringe) use cases for being more permissive on the
    login screen (like remote home directories only accessible via VPN).
    
    There's precedence with the power-off/restart actions to be less
    restrictive on the login screen, and since we started respecting
    the `network-control` polkit action, it's possible to restore the
    old behavior if desired.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1874>

 js/ui/status/network.js | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index 3d336ed7e6..b1b11e114d 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -1765,7 +1765,6 @@ class Indicator extends PanelMenu.SystemIndicator {
     _sessionUpdated() {
         const sensitive =
             !Main.sessionMode.isLocked &&
-            !Main.sessionMode.isGreeter &&
             this._configPermission && this._configPermission.allowed;
         this.menu.setSensitive(sensitive);
     }


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