SearchEntry: replace the ID with a style class

This way extension authors can create entries that look and feel
like the overview search entry.

https://bugzilla.gnome.org/show_bug.cgi?id=733813
This commit is contained in:
Giovanni Campagna
2014-08-01 10:56:50 +02:00
parent 926177785d
commit 3842981c35
2 changed files with 12 additions and 12 deletions

View File

@ -242,7 +242,7 @@ const Overview = new Lang.Class({
opacity: 0 });
this._overview.add_actor(this._panelGhost);
this._searchEntry = new St.Entry({ name: 'searchEntry',
this._searchEntry = new St.Entry({ style_class: 'search-entry',
/* Translators: this is the text displayed
in the search entry when no search is
active; it should not exceed ~30