[gnome-shell] rfkill: remove unused code



commit 1fe3ab8f6857b9f7a18bf5bf00813905eb2873f6
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Sep 8 15:13:57 2014 -0700

    rfkill: remove unused code
    
    https://bugzilla.gnome.org/show_bug.cgi?id=736292

 js/ui/status/rfkill.js |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/status/rfkill.js b/js/ui/status/rfkill.js
index b2359d8..545ce7c 100644
--- a/js/ui/status/rfkill.js
+++ b/js/ui/status/rfkill.js
@@ -101,8 +101,6 @@ const Indicator = new Lang.Class({
     _sync: function() {
         let airplaneMode = this._manager.airplaneMode;
         let hwAirplaneMode = this._manager.hwAirplaneMode;
-        let changed = (airplaneMode != this._indicator.visible) ||
-            (hwAirplaneMode != this._offItem.actor.visible);
 
         this._indicator.visible = airplaneMode;
         this._item.actor.visible = airplaneMode;


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