[gnome-shell/wip/rstrode/login-screen-extensions: 29/134] status/network: Do not disable on login screen
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/rstrode/login-screen-extensions: 29/134] status/network: Do not disable on login screen
- Date: Thu, 26 Aug 2021 19:30:58 +0000 (UTC)
commit 42dac36dd3ef6e5875bb002fbc2fc63ca23439e0
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.
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 d2254a9b93..f8991d02fc 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -1707,7 +1707,6 @@ var NMApplet = class 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]