searchDisplay: Make the search result actors stateless, by removing terms
We want to cache result actors between searches, so we shouldn't instantiate them with search-specific info. https://bugzilla.gnome.org/show_bug.cgi?id=704912
This commit is contained in:
@@ -914,7 +914,7 @@ const AppSearchProvider = new Lang.Class({
|
||||
app.open_new_window(workspace);
|
||||
},
|
||||
|
||||
createResultObject: function (resultMeta, terms) {
|
||||
createResultObject: function (resultMeta) {
|
||||
let app = this._appSys.lookup_app(resultMeta['id']);
|
||||
return new AppIcon(app);
|
||||
}
|
||||
|
Reference in New Issue
Block a user