[polari/wip/raresv/nick-popover: 21/32] userListPopover: Change the search entry icon
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/raresv/nick-popover: 21/32] userListPopover: Change the search entry icon
- Date: Thu, 15 Sep 2016 11:39:41 +0000 (UTC)
commit 1747a3f331130d9707b4efd2d9e5592097aff0ea
Author: raresv <rares visalom gmail com>
Date: Thu Jul 14 00:30:33 2016 +0300
userListPopover: Change the search entry icon
Since the last commit removed icons from rows, there's no longer any
hint about the popover's purpose unless a row is expanded. As the
filter entry is visible in most rooms, it is a good place to add
back that indication.
https://bugzilla.gnome.org/show_bug.cgi?id=760853
src/userList.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/userList.js b/src/userList.js
index a3ae37a..ac7b18d 100644
--- a/src/userList.js
+++ b/src/userList.js
@@ -54,7 +54,7 @@ const UserListPopover = new Lang.Class({
this._userListBin = new Gtk.Frame({ shadow_type: Gtk.ShadowType.NONE });
this._box.add(this._userListBin);
- this._entry = new Gtk.SearchEntry();
+ this._entry = new Gtk.SearchEntry({ primary_icon_name: 'avatar-default-symbolic' });
this._entry.connect('search-changed',
Lang.bind(this, this._updateFilter));
this._revealer.add(this._entry);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]