From 91911da302a2e1fc44a237c47ae41a8302d771d8 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sat, 8 Aug 2009 11:57:09 -0400 Subject: [PATCH] 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. --- js/ui/appDisplay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 6e335216b..3406ee44b 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -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 }); },