From 340fbfe943dbcfa6d25b62149d89af63c838acea 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 3729b1416..aa3495f76 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -343,15 +343,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; },