From a5ac183d86f9522aa71e604d255c9c04428b4fc2 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 2 May 2012 16:29:51 -0400 Subject: [PATCH] network: Fix an accidental copy-paste error Logic swap accidentally introduced in commit 723a1c843. https://bugzilla.gnome.org/show_bug.cgi?id=672272 --- js/ui/status/network.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/status/network.js b/js/ui/status/network.js index f1ba1194f..dedd4a499 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -707,7 +707,7 @@ const NMDeviceWired = new Lang.Class({ // the device // we can do it here because addConnection and removeConnection // both call _createSection at some point - this.section.actor.visible = this._connections.length <= 1; + this.section.actor.visible = this._connections.length > 1; }, _createAutomaticConnection: function() {