[gnome-shell] network: Don't start portal helper under GDM
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] network: Don't start portal helper under GDM
- Date: Wed, 22 Feb 2017 15:23:06 +0000 (UTC)
commit 607b2efcce68002b44c2e7e0045e69f9e39062ac
Author: Bastien Nocera <hadess hadess net>
Date: Sun Feb 19 16:38:07 2017 +0100
network: Don't start portal helper under GDM
https://bugzilla.gnome.org/show_bug.cgi?id=769546
js/ui/status/network.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index 560743c..bedfc5e 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -2066,7 +2066,7 @@ const NMApplet = new Lang.Class({
// (but in general we should only prompt a portal if we know there is a portal)
if (GLib.getenv('GNOME_SHELL_CONNECTIVITY_TEST') != null)
isPortal = isPortal || this._client.connectivity < NetworkManager.ConnectivityState.FULL;
- if (!isPortal)
+ if (!isPortal || Main.sessionMode.isGreeter)
return;
let path = this._mainConnection.get_path();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]