[polari/wip/raresv/finalRebase: 18/18] userListRow: use new userDetails class.
- From: Rares Visalom <raresvisalom src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/raresv/finalRebase: 18/18] userListRow: use new userDetails class.
- Date: Thu, 18 Aug 2016 18:52:27 +0000 (UTC)
commit 8e5d4031e1f5751cd55aa5dd03288564b3dffb3c
Author: raresv <rares visalom gmail com>
Date: Thu Aug 18 15:58:18 2016 +0300
userListRow: use new userDetails class.
src/userList.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/userList.js b/src/userList.js
index 36639ec..e283f03 100644
--- a/src/userList.js
+++ b/src/userList.js
@@ -466,7 +466,6 @@ const UserListRow = new Lang.Class({
let hbox = new Gtk.Box({ margin: 4, spacing: 4 });
this._arrow = new Gtk.Arrow({ arrow_type: Gtk.ArrowType.RIGHT,
no_show_all: true });
- hbox.add(new Gtk.Image({ icon_name: 'avatar-default-symbolic' }));
this._label = new Gtk.Label({ label: this._user.alias,
halign: Gtk.Align.START,
hexpand: true,
@@ -487,7 +486,9 @@ const UserListRow = new Lang.Class({
if (this._revealer.get_child())
return;
- let details = new UserListDetails({ user: this._user })
+ let details = new UserDetails();
+ details.user = this._user;
+
this._revealer.bind_property('reveal-child', details, 'expanded', 0);
this._revealer.add(details);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]