[gnome-shell/wip/rstrode/login-screen-extensions: 28/134] sessionMode: Enable networkAgent on login screen




commit 628bae7afe88d28f23ff146ae6b79b2b02cd84cd
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).

 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 25aa75a3df..fa7f834160 100644
--- a/js/ui/sessionMode.js
+++ b/js/ui/sessionMode.js
@@ -43,7 +43,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]