Bug 590985 - Fix frequent apps list being empty
We shouldn't append .desktop again, that was a leftover from the old WM_CLASS based application code.
This commit is contained in:
parent
3c87d76741
commit
91911da302
@ -275,7 +275,7 @@ AppDisplay.prototype = {
|
||||
_getMostUsed: function() {
|
||||
let context = "";
|
||||
return this._appMonitor.get_most_used_apps(context, 30).map(Lang.bind(this, function (id) {
|
||||
return this._appSystem.lookup_app(id + '.desktop');
|
||||
return this._appSystem.lookup_app(id);
|
||||
})).filter(function (e) { return e != null });
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user