Skip to content

Commit

Permalink
Merge pull request #111 from Webelys/searchentry-style
Browse files Browse the repository at this point in the history
[#103] Provide a generic class on search input
  • Loading branch information
border0464111 authored Aug 24, 2016
2 parents 717def1 + 4e2827c commit 492fb08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 492fb08

Please sign in to comment.