[polari/wip/raresv/nick-popover: 14/27] 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: 14/27] userListPopover: change the search entry icon
- Date: Fri, 2 Sep 2016 23:59:02 +0000 (UTC)
commit a18f55530c8acd8f1540f1410716d8d5ecf756d2
Author: raresv <rares visalom gmail com>
Date: Thu Jul 14 00:30:33 2016 +0300
userListPopover: change the search entry icon
As the mockups suggest, the search entry should have another
icon in order to transmit the idea that the search entry is
actually searching for users, not anything else.
We add avatar symbolic icon to the search entry in UserList.
src/userList.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/userList.js b/src/userList.js
index 5094a91..5ade5ca 100644
--- a/src/userList.js
+++ b/src/userList.js
@@ -51,7 +51,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]