Commit 40c2a403 authored by Cosimo Cecchi's avatar Cosimo Cecchi Committed by Marco Trevisan

search: reload search providers when installed applications change

Otherwise, a shell restart will be required after installing a new
application, before its results can be seen in search.

parent 238b87d3
Pipeline #85071 passed with stages
in 3 minutes and 49 seconds
......@@ -431,6 +431,9 @@ var SearchResults = class {
this._cancellable = new Gio.Cancellable();
this._registerProvider(new AppDisplay.AppSearchProvider());
let appSystem = Shell.AppSystem.get_default();
appSystem.connect('installed-changed', this._reloadRemoteProviders.bind(this));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment