[polari] userList: Drop custom icon from filter entry
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] userList: Drop custom icon from filter entry
- Date: Sat, 16 Jan 2021 01:50:26 +0000 (UTC)
commit e2da7f5f0be4c333bef78ebf1e9e57db5fecf6f7
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Oct 10 03:38:23 2020 +0200
userList: Drop custom icon from filter entry
We won't have access to the icon in GTK4, and it doesn't seem worth
to implement our own search entry or hack around the limitation.
Just go with the default.
https://gitlab.gnome.org/GNOME/polari/-/merge_requests/174
src/userList.js | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/userList.js b/src/userList.js
index a9fb9c45..31df5f97 100644
--- a/src/userList.js
+++ b/src/userList.js
@@ -53,9 +53,7 @@ class UserListPopover extends Gtk.Popover {
});
this._box.add(this._userListBin);
- this._entry = new Gtk.SearchEntry({
- primary_icon_name: 'avatar-default-symbolic',
- });
+ this._entry = new Gtk.SearchEntry();
this._entry.connect('search-changed', this._updateFilter.bind(this));
this._revealer.add(this._entry);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]