[polari/wip/fmuellner/combined-gsoc: 121/136] update the max-width-chars property of the fullname label in the UserDetails class
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/fmuellner/combined-gsoc: 121/136] update the max-width-chars property of the fullname label in the UserDetails class
- Date: Tue, 26 Jul 2016 23:26:08 +0000 (UTC)
commit 1ecf1c47badacb1faf0259c1b9646d530a638c43
Author: raresv <rares visalom gmail com>
Date: Mon Jul 25 14:00:20 2016 +0300
update the max-width-chars property of the fullname label in the UserDetails class
src/userList.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/userList.js b/src/userList.js
index b02348d..972f6bf 100644
--- a/src/userList.js
+++ b/src/userList.js
@@ -144,8 +144,7 @@ const UserDetails = new Lang.Class({
this.bind_property('notifications-enabled', this._notificationIcon, 'visible',
GObject.BindingFlags.SYNC_CREATE);
this.bind_property('notifications-enabled', this._notificationLabel, 'visible',
GObject.BindingFlags.SYNC_CREATE);
- this._fullnameLabel.ellipsize = Pango.EllipsizeMode.END;
- this._fullnameLabel.max_width_chars = MAX_USERS_WIDTH_CHARS;
+ this._fullnameLabel.max_width_chars = 50;
},
set user(user) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]