search: Junk the OpenSearch system
The original design for the overview had buttons for searching for Wikipedia and Google, but in practice this is a bad idea. The buttons are the default activations, meaning that using the overview as a fluent motion of launching something - "firefxo<Enter>", will launch Google/Wikipedia. https://bugzilla.gnome.org/show_bug.cgi?id=670168
This commit is contained in:
@ -103,7 +103,6 @@ const SearchTab = new Lang.Class({
|
||||
this._searchTimeoutId = 0;
|
||||
|
||||
this._searchSystem = new Search.SearchSystem();
|
||||
this._openSearchSystem = new Search.OpenSearchSystem();
|
||||
|
||||
this._entry = new St.Entry({ name: 'searchEntry',
|
||||
/* Translators: this is the text displayed
|
||||
@ -127,7 +126,7 @@ const SearchTab = new Lang.Class({
|
||||
|
||||
this._iconClickedId = 0;
|
||||
|
||||
this._searchResults = new SearchDisplay.SearchResults(this._searchSystem, this._openSearchSystem);
|
||||
this._searchResults = new SearchDisplay.SearchResults(this._searchSystem);
|
||||
this.parent(this._entry, this._searchResults.actor, _("Search"), 'edit-find');
|
||||
|
||||
this._text.connect('text-changed', Lang.bind(this, this._onTextChanged));
|
||||
|
Reference in New Issue
Block a user