From 04fbaf4f27e7ce6cbf7b952a607cd22eca586855 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 26 Jun 2009 18:35:48 -0400 Subject: [PATCH] Avoid duplicating most used applications in the AppDisplay cache All used applications should be in the database from the menus anyways. --- js/ui/appDisplay.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index b2ef0a0e0..a18d3af04 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -344,15 +344,6 @@ AppDisplay.prototype = { this._addAppForId(appId); } - // Some applications, such as Evince, might not be in the menus, - // but might be returned by the applications monitor as most used - // applications, in which case we include them. - let mostUsedAppInfos = AppInfo.getMostUsedApps(MAX_ITEMS); - for (let i = 0; i < mostUsedAppInfos.length; i++) { - let appInfo = mostUsedAppInfos[i]; - this._addApp(appInfo); - } - this._appsStale = false; },