[gnome-shell/wip/message-tray-menu: 105/109] network: Hide the signal icon in the mobile broadband case
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/message-tray-menu: 105/109] network: Hide the signal icon in the mobile broadband case
- Date: Thu, 9 May 2013 15:45:10 +0000 (UTC)
commit d72d014dedfd972748270cccdb41253065b31831
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 case
js/ui/status/network.js | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index 9c751e8..f5ef114 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -527,11 +527,6 @@ const NMDeviceModem = new Lang.Class({
this._operatorItem.actor.hide();
}
}));
- this._signalQualityId = this.mobileDevice.connect('notify::signal-quality', Lang.bind(this,
function() {
- if (this._operatorItem) {
- this._operatorItem.setIcon(this._getSignalIcon());
- }
- }));
}
this.parent(client, device, connections);
@@ -560,9 +555,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]