[gnome-shell] loginDialog: Remove useless style class manipulation



commit 48b7ebe1c06ab6fa38ee063e31663ff0515e34d9
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Aug 26 18:09:44 2013 -0400

    loginDialog: Remove useless style class manipulation
    
    StWidget already does this for us.

 js/gdm/loginDialog.js |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index d1f3db3..9c1e7eb 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -102,11 +102,6 @@ const UserListItem = new Lang.Class({
 
     syncStyleClasses: function() {
         this._updateLoggedIn();
-
-        if (global.stage.get_key_focus() == this.actor)
-            this.actor.add_style_pseudo_class('focus');
-        else
-            this.actor.remove_style_pseudo_class('focus');
     },
 
     _updateLoggedIn: function() {


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