From 4e2827c581a0c93b62aa021d8acd3aac25d25c36 Mon Sep 17 00:00:00 2001 From: "cam.lafit" Date: Fri, 8 Apr 2016 20:24:12 +0200 Subject: [PATCH] Provide a generic class on search input * Set a style on input search following theme style * Solves #103 --- extension.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extension.js b/extension.js index b4a56f83..a406f4d9 100644 --- a/extension.js +++ b/extension.js @@ -101,7 +101,8 @@ HamsterBox.prototype = { this._textEntry = new St.Entry({name: 'searchEntry', can_focus: true, track_hover: true, - hint_text: _("Enter activity...")}); + hint_text: _("Enter activity..."), + style_class: "search-entry"}); this._textEntry.clutter_text.connect('activate', Lang.bind(this, this._onEntryActivated)); this._textEntry.clutter_text.connect('key-release-event', Lang.bind(this, this._onKeyReleaseEvent));