UnlockDialog: remove hover effect from the avatar widget

It is not clickable, so it should not have any hover.

https://bugzilla.gnome.org/show_bug.cgi?id=681143
This commit is contained in:
Giovanni Campagna
2012-08-16 22:21:14 +02:00
parent cbb56b6128
commit 80fde70995
2 changed files with 6 additions and 4 deletions

View File

@ -30,7 +30,7 @@ const UserWidget = new Lang.Class({
this.actor = new St.BoxLayout({ style_class: 'unlock-dialog-user-name-container',
vertical: false });
this._avatar = new UserMenu.UserAvatarWidget(user);
this._avatar = new UserMenu.UserAvatarWidget(user, { reactive: false });
this.actor.add(this._avatar.actor,
{ x_fill: true, y_fill: true });