[gnome-shell] Bluetooth: remove dead code



commit 45c2e6575d0e18d9a393d80a07209d39362cb131
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Mon Dec 3 19:15:32 2012 +0100

    Bluetooth: remove dead code
    
    Notification.grabFocus doesn't exist anymore.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=687081

 js/ui/status/bluetooth.js |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/status/bluetooth.js b/js/ui/status/bluetooth.js
index 245db1e..da720f3 100644
--- a/js/ui/status/bluetooth.js
+++ b/js/ui/status/bluetooth.js
@@ -446,10 +446,5 @@ const PinNotification = new Lang.Class({
             return this._entry.clutter_text.text.length == 6;
         else
             return true;
-    },
-
-    grabFocus: function(lockTray) {
-        this.parent(lockTray);
-        global.stage.set_key_focus(this._entry);
     }
 });



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