[polari] userList: Drop intermediate frame
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] userList: Drop intermediate frame
- Date: Sat, 16 Jan 2021 01:50:26 +0000 (UTC)
commit 6b1ac22d85e2a75cbe52279241b98a4bcb9e912c
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Oct 10 03:40:08 2020 +0200
userList: Drop intermediate frame
It is only used as a placeholder for the actual user list, but as
the list is always located at the end of its parent, we can just
as well add it directly.
https://gitlab.gnome.org/GNOME/polari/-/merge_requests/174
src/userList.js | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/src/userList.js b/src/userList.js
index 31df5f97..2af888f4 100644
--- a/src/userList.js
+++ b/src/userList.js
@@ -48,11 +48,6 @@ class UserListPopover extends Gtk.Popover {
this._revealer = new Gtk.Revealer();
this._box.add(this._revealer);
- this._userListBin = new Gtk.Frame({
- shadow_type: Gtk.ShadowType.NONE,
- });
- this._box.add(this._userListBin);
-
this._entry = new Gtk.SearchEntry();
this._entry.connect('search-changed', this._updateFilter.bind(this));
this._revealer.add(this._entry);
@@ -90,7 +85,7 @@ class UserListPopover extends Gtk.Popover {
return;
this._userList = new UserList(room);
- this._userListBin.add(this._userList);
+ this._box.add(this._userList);
this._userList.vadjustment.connect('changed',
this._updateEntryVisibility.bind(this));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]