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:
Colin Walters 2009-08-08 11:57:09 -04:00
parent 3c87d76741
commit 91911da302

View File

@ -275,7 +275,7 @@ AppDisplay.prototype = {
_getMostUsed: function() { _getMostUsed: function() {
let context = ""; let context = "";
return this._appMonitor.get_most_used_apps(context, 30).map(Lang.bind(this, function (id) { 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 }); })).filter(function (e) { return e != null });
}, },