[gnome-shell/wip/aggregate-menu: 11/62] network: Don't hide the VPN icon



commit c3fb448ae56c55bed6c630a9c407d8fd0e259a21
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Jun 17 18:24:52 2013 -0400

    network: Don't hide the VPN icon
    
    This is a regression from e6c239d0f3318984815049abb621f6b0cb3dc85e,
    where we removed the calls to hide()/show() when we had a VPN device
    vs. not. Having a null icon-name is enough to make it invisible.
    This fixes the VPN icon being invisible forever.

 js/ui/status/network.js |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index 923aaea..e79e83f 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -1425,7 +1425,6 @@ const NMApplet = new Lang.Class({
         this.parent('network-offline-symbolic', _('Network'));
 
         this._vpnIcon = this.addIcon(null);
-        this._vpnIcon.hide();
 
         // Device types
         this._dtypes = { };


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