loginDialog: get rid of title label

the login screen currently says "Sign In" at the top of it.

The latest mock ups don't have that.

This commit drops it.

https://bugzilla.gnome.org/show_bug.cgi?id=694062
This commit is contained in:
Ray Strode 2013-02-04 16:52:14 -05:00
parent b922035d4f
commit f8446f1bfc

View File

@ -722,14 +722,6 @@ const LoginDialog = new Lang.Class({
this.contentLayout.add(this._bannerLabel);
this._updateBanner();
this._titleLabel = new St.Label({ style_class: 'login-dialog-title',
text: C_("title", "Sign In"),
visible: false });
this.contentLayout.add(this._titleLabel,
{ y_fill: false,
y_align: St.Align.START });
this._userList = new UserList();
this.contentLayout.add(this._userList.actor,
{ expand: true,
@ -1249,8 +1241,7 @@ const LoginDialog = new Lang.Class({
this._userList.actor.hide();
},
new Batch.ConcurrentBatch(this, [this._fadeOutTitleLabel,
this._fadeOutNotListedButton]),
this._fadeOutNotListedButton,
function() {
return this._askForUsernameAndLogIn();
@ -1263,8 +1254,7 @@ const LoginDialog = new Lang.Class({
_showUserList: function() {
let tasks = [this._hidePrompt,
new Batch.ConcurrentBatch(this, [this._fadeInTitleLabel,
this._fadeInNotListedButton]),
this._fadeInNotListedButton,
function() {
this._sessionList.close();
@ -1291,14 +1281,6 @@ const LoginDialog = new Lang.Class({
return GdmUtil.fadeOutActor(this._bannerLabel);
},
_fadeInTitleLabel: function() {
return GdmUtil.fadeInActor(this._titleLabel);
},
_fadeOutTitleLabel: function() {
return GdmUtil.fadeOutActor(this._titleLabel);
},
_fadeInNotListedButton: function() {
return GdmUtil.fadeInActor(this._notListedButton);
},
@ -1331,8 +1313,7 @@ const LoginDialog = new Lang.Class({
return this._userList.giveUpWhitespace();
},
new Batch.ConcurrentBatch(this, [this._fadeOutTitleLabel,
this._fadeOutNotListedButton]),
this._fadeOutNotListedButton,
function() {
return this._userList.shrinkToNaturalHeight();