unlockDialog: Fix centering of label in screen shield

The code here was trying to center the label, but that didn't
happen because we allocated the entire space to the label, which
still plonks it at the top.
This commit is contained in:
Jasper St. Pierre 2012-09-05 14:23:45 -03:00
parent 457fb604dd
commit ffbc1fd190

View File

@ -41,6 +41,7 @@ const UserWidget = new Lang.Class({
this.actor.add(this._label, this.actor.add(this._label,
{ expand: true, { expand: true,
x_fill: true, x_fill: true,
y_fill: false,
y_align: St.Align.MIDDLE }); y_align: St.Align.MIDDLE });
this._userLoadedId = this._user.connect('notify::is-loaded', this._userLoadedId = this._user.connect('notify::is-loaded',