gnome-shell r146 - trunk/js/ui



Author: danw
Date: Tue Jan 13 20:45:54 2009
New Revision: 146
URL: http://svn.gnome.org/viewvc/gnome-shell?rev=146&view=rev

Log:
load the GAppInfos at startup time rather than waiting until the overlay
is opened for the first time


Modified:
   trunk/js/ui/appDisplay.js

Modified: trunk/js/ui/appDisplay.js
==============================================================================
--- trunk/js/ui/appDisplay.js	(original)
+++ trunk/js/ui/appDisplay.js	Tue Jan 13 20:45:54 2009
@@ -120,6 +120,10 @@
             // 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 //// 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]