[polari/wip/fmuellner/combined-gsoc: 122/136] fullnameLabel is now hidden where there is no name to display and is visible when the contact info i



commit 6cf0c3ffa1e389d29fbf81e65ba0286d76ad86ba
Author: raresv <rares visalom gmail com>
Date:   Mon Jul 25 14:07:44 2016 +0300

    fullnameLabel is now hidden where there is no name to display and is visible when the contact info is 
ready.

 src/userList.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/userList.js b/src/userList.js
index 972f6bf..e34c823 100644
--- a/src/userList.js
+++ b/src/userList.js
@@ -267,6 +267,7 @@ const UserDetails = new Lang.Class({
             fn = this._user.alias;
 
         this._fullnameLabel.label = fn;
+        this._fullnameLabel.visible = true;
         this._userIcon.visible = true;
 
         if (last) {
@@ -288,6 +289,7 @@ const UserDetails = new Lang.Class({
         this._lastHeader.show();
 
         this._userIcon.visible = false;
+        this._fullnameLabel.visible = false;
 
         this._revealDetails();
     },


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