loginDialog: Remove useless style class manipulation
StWidget already does this for us.
This commit is contained in:
parent
c59cf18337
commit
48b7ebe1c0
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user