[polari/wip/fixes] userList: add view style



commit f494ec37cfdd0fee4cc7e9fa6238fb1dfbf8afb6
Author: Ignacio Casal Quinteiro <ignacio casal nice-software com>
Date:   Sat Aug 10 15:09:02 2013 +0200

    userList: add view style

 src/userList.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/userList.js b/src/userList.js
index c970844..8992eee 100644
--- a/src/userList.js
+++ b/src/userList.js
@@ -17,6 +17,8 @@ const UserList = new Lang.Class({
         this._list.set_selection_mode(Gtk.SelectionMode.NONE);
         this._list.set_header_func(Lang.bind(this, this._updateHeader));
         this._list.set_sort_func(Lang.bind(this, this._sort));
+        let context = this._list.get_style_context();
+        context.add_class('view');
 
         this._room = room;
 


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