[gnome-shell] network: make the icon visible again when going from ethernet to nothing



commit f7624e5f0582a2a1e8c5e59a19bc900548a609e9
Author: Dan Winship <danw gnome org>
Date:   Tue Oct 8 14:26:38 2013 -0400

    network: make the icon visible again when going from ethernet to nothing
    
    https://bugzilla.gnome.org/show_bug.cgi?id=709638

 js/ui/status/network.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index cc8d6c6..6a2efc9 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -1587,6 +1587,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;
         } 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]