[gnome-shell/wip/aggregate-menu: 61/75] network: Hide the signal icon in the mobile broadband section
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/aggregate-menu: 61/75] network: Hide the signal icon in the mobile broadband section
- Date: Mon, 1 Jul 2013 18:13:12 +0000 (UTC)
commit a4dc3843998f09afeb7d821cb27486f2ba62f9d0
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Apr 29 15:11:14 2013 -0400
network: Hide the signal icon in the mobile broadband section
js/ui/status/network.js | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index f092986..cbba009 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -561,9 +561,6 @@ const NMDeviceModem = new Lang.Class({
}
}));
this._signalQualityId = this.mobileDevice.connect('notify::signal-quality', Lang.bind(this,
function() {
- if (this._operatorItem) {
- this._operatorItem.setIcon(this._getSignalIcon());
- }
this.emit('icon-changed');
}));
}
@@ -594,9 +591,8 @@ const NMDeviceModem = new Lang.Class({
if (this.mobileDevice) {
// If operator_name is null, just pass the empty string, as the item is hidden anyway
- this._operatorItem = new PopupMenu.PopupImageMenuItem(this.mobileDevice.operator_name || '',
- this._getSignalIcon(),
- { reactive: false });
+ this._operatorItem = new PopupMenu.PopupMenuItem(this.mobileDevice.operator_name || '',
+ { style_class: 'popup-status-menu-item' });
if (!this.mobileDevice.operator_name)
this._operatorItem.actor.hide();
this.section.addMenuItem(this._operatorItem);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]