search-entry: Update hint text

'Search your computer' is problematic for various reasons:
 - it specifies the kind of device
 - it focuses on local search (while we also do web search)
 - it does not advertise the instant search functionality

Change the hint text to 'Type to search' as proposed by Allan Day.

https://bugzilla.gnome.org/show_bug.cgi?id=642287
This commit is contained in:
Florian Müllner 2011-02-18 19:35:17 +01:00
parent 4bedbca66f
commit 136ed3623b

View File

@ -23,7 +23,11 @@ function SearchEntry(focusBase) {
SearchEntry.prototype = {
_init : function(focusBase) {
this.actor = new St.Entry({ name: 'searchEntry',
hint_text: _("Search your computer"),
/* Translators: this is the text displayed
in the search entry when no search is
active; it should not exceed ~30
characters */
hint_text: _("Type to search..."),
track_hover: true });
this.entry = this.actor.clutter_text;