Clean up vestiges of the OpenSearch system

https://bugzilla.gnome.org/show_bug.cgi?id=683583
This commit is contained in:
Rui Matos
2012-09-07 17:41:43 +02:00
parent 1c79f18b13
commit c866b0dbfd
3 changed files with 0 additions and 13 deletions

View File

@ -214,8 +214,6 @@ const SearchResults = new Lang.Class({
for (let i = 0; i < this._providers.length; i++) {
this.createProviderMeta(this._providers[i]);
}
this._searchProvidersBox = new St.BoxLayout({ style_class: 'search-providers-box' });
this.actor.add(this._searchProvidersBox);
this._highlightDefault = false;
this._defaultResult = null;
@ -302,9 +300,6 @@ const SearchResults = new Lang.Class({
}
}
if (!newDefaultResult)
newDefaultResult = this._searchProvidersBox.get_first_child();
if (newDefaultResult != this._defaultResult) {
if (this._defaultResult)
this._defaultResult.setSelected(false);