rfkill: remove unused code
https://bugzilla.gnome.org/show_bug.cgi?id=736292
This commit is contained in:
parent
be3c3c64c1
commit
1fe3ab8f68
@ -101,8 +101,6 @@ const Indicator = new Lang.Class({
|
|||||||
_sync: function() {
|
_sync: function() {
|
||||||
let airplaneMode = this._manager.airplaneMode;
|
let airplaneMode = this._manager.airplaneMode;
|
||||||
let hwAirplaneMode = this._manager.hwAirplaneMode;
|
let hwAirplaneMode = this._manager.hwAirplaneMode;
|
||||||
let changed = (airplaneMode != this._indicator.visible) ||
|
|
||||||
(hwAirplaneMode != this._offItem.actor.visible);
|
|
||||||
|
|
||||||
this._indicator.visible = airplaneMode;
|
this._indicator.visible = airplaneMode;
|
||||||
this._item.actor.visible = airplaneMode;
|
this._item.actor.visible = airplaneMode;
|
||||||
|
Loading…
Reference in New Issue
Block a user