[gnome-shell] network: Don't show network-offline-symbolic in the top bar



commit 821768a414d3aeafee54ce71763622b985a42b30
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Mar 10 14:11:50 2014 -0400

    network: Don't show network-offline-symbolic in the top bar
    
    This is against the designs.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=725340
    
    https://bugzilla.gnome.org/show_bug.cgi?id=721459

 js/ui/status/network.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index ce6b004..1e6ae6c 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -1862,8 +1862,7 @@ const NMApplet = new Lang.Class({
 
     _updateIcon: function() {
         if (!this._client.networking_enabled || !this._mainConnection) {
-            this._primaryIndicator.icon_name = 'network-offline-symbolic';
-            this._primaryIndicator.visible = true;
+            this._primaryIndicator.visible = false;
         } else {
             let dev = this._mainConnection._primaryDevice;
             this._primaryIndicator.visible = (dev != null);


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