[gnome-shell] sessionMode: Enable networkAgent on login screen
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] sessionMode: Enable networkAgent on login screen
- Date: Fri, 16 Jul 2021 22:25:28 +0000 (UTC)
commit 4440a8210b456923678facd434ef8a23d48f63b6
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Jun 10 23:12:27 2021 +0200
sessionMode: Enable networkAgent on login screen
We will soon enable the network sections in the status menu on the
login screen, so enable the network agent to handle authentication
requests (like wifi/VPN passwords).
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1874>
js/ui/sessionMode.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/js/ui/sessionMode.js b/js/ui/sessionMode.js
index aa69fd1152..4d4fb2444c 100644
--- a/js/ui/sessionMode.js
+++ b/js/ui/sessionMode.js
@@ -47,7 +47,9 @@ const _modes = {
isGreeter: true,
isPrimary: true,
unlockDialog: imports.gdm.loginDialog.LoginDialog,
- components: ['polkitAgent'],
+ components: Config.HAVE_NETWORKMANAGER
+ ? ['networkAgent', 'polkitAgent']
+ : ['polkitAgent'],
panel: {
left: [],
center: ['dateMenu'],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]