loginDialog: Remove useless style class manipulation

StWidget already does this for us.
This commit is contained in:
Jasper St. Pierre 2013-08-26 18:09:44 -04:00
parent c59cf18337
commit 48b7ebe1c0

View File

@ -102,11 +102,6 @@ const UserListItem = new Lang.Class({
syncStyleClasses: function() { syncStyleClasses: function() {
this._updateLoggedIn(); 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() { _updateLoggedIn: function() {