diff --git a/js/ui/search.js b/js/ui/search.js index 8d70d35ab..6485b57e8 100644 --- a/js/ui/search.js +++ b/js/ui/search.js @@ -1,4 +1,5 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- +/* exported SearchResultsView */ const { Clutter, Gio, GLib, GObject, Meta, Shell, St } = imports.gi; const Signals = imports.signals; @@ -409,7 +410,7 @@ var GridSearchResults = class extends SearchResultsBase { }; Signals.addSignalMethods(GridSearchResults.prototype); -var SearchResults = class { +var SearchResultsView = class { constructor() { this.actor = new St.BoxLayout({ name: 'searchResults', vertical: true }); @@ -744,7 +745,7 @@ var SearchResults = class { return description.replace(this._highlightRegex, '$1'); } }; -Signals.addSignalMethods(SearchResults.prototype); +Signals.addSignalMethods(SearchResultsView.prototype); var ProviderInfo = GObject.registerClass( class ProviderInfo extends St.Button { diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js index 4e82c4968..b7b7104d0 100644 --- a/js/ui/viewSelector.js +++ b/js/ui/viewSelector.js @@ -172,7 +172,7 @@ var ViewSelector = class { this._appsPage = this._addPage(this.appDisplay.actor, _("Applications"), 'view-app-grid-symbolic'); - this._searchResults = new Search.SearchResults(); + this._searchResults = new Search.SearchResultsView(); this._searchPage = this._addPage(this._searchResults.actor, _("Search"), 'edit-find-symbolic', { a11yFocus: this._entry });