[gnome-shell/wip/aggregate-menu: 24/75] network: Fix visibility of the VPN icon
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/aggregate-menu: 24/75] network: Fix visibility of the VPN icon
- Date: Mon, 1 Jul 2013 18:10:06 +0000 (UTC)
commit e90ef20ed8077f2d238881c40906a5d7b6736833
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Jun 17 18:24:52 2013 -0400
network: Fix visibility of 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.
https://bugzilla.gnome.org/show_bug.cgi?id=702536
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 923aaea..d14b1b6 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 = { };
@@ -1960,5 +1959,6 @@ const NMApplet = new Lang.Class({
}
this._vpnIcon.icon_name = this._vpnSection.getIndicatorIcon();
+ this._vpnIcon.visible = (this._vpnIcon.icon_name != '');
}
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]