From 48b7ebe1c06ab6fa38ee063e31663ff0515e34d9 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 26 Aug 2013 18:09:44 -0400 Subject: [PATCH] loginDialog: Remove useless style class manipulation StWidget already does this for us. --- js/gdm/loginDialog.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index d1f3db342..9c1e7ebf5 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() {