From b3860314b2e52d2a7fc271aee6be9f04b0bec675 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 13 Jan 2009 20:45:54 +0000 Subject: [PATCH] load the GAppInfos at startup time rather than waiting until the overlay is opened for the first time svn path=/trunk/; revision=146 --- js/ui/appDisplay.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index d8e666632..3fc5fab32 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -120,6 +120,10 @@ AppDisplay.prototype = { // user in in the overlay mode, however let's redisplay just in case. me._redisplay(); }); + + // Load the GAppInfos now so it doesn't slow down the first + // transition into the overlay + this._refreshCache(); }, //// Protected method overrides ////