[gnome-shell] loginDialog: get rid of title label



commit f8446f1bfcb0c8988b3f2d4cbda16449bb9a56c6
Author: Ray Strode <rstrode redhat com>
Date:   Mon Feb 4 16:52:14 2013 -0500

    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

 js/gdm/loginDialog.js |   25 +++----------------------
 1 files changed, 3 insertions(+), 22 deletions(-)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index d41b520..c26d4ce 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -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();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]