[gnome-shell] network: Fix an accidental copy-paste error



commit a5ac183d86f9522aa71e604d255c9c04428b4fc2
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed May 2 16:29:51 2012 -0400

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index f1ba119..dedd4a4 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() {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]