Bug 500280: clicking the preferences button takes a few seconds to switch screens [r=mark.finkle]
authorBenjamin Stover <webapps@stechz.com>
Thu, 12 Nov 2009 14:14:57 -0500
changeset 65786 1068bde078db68d76baf0ac434ca471d460cf0b9
parent 65785 f93faf93976a90f415f5c3f3bb55a49a3c8d210c
child 65787 410b835dda0293cd6d84d6289103e8fad205d575
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmark
bugs500280
Bug 500280: clicking the preferences button takes a few seconds to switch screens [r=mark.finkle]
mobile/chrome/content/browser.js
--- a/mobile/chrome/content/browser.js
+++ b/mobile/chrome/content/browser.js
@@ -2711,17 +2711,21 @@ var ImagePreloader = {
                   "toggleleft-active", "toggleleft-inactive",
                   "togglemiddle-active", "togglemiddle-inactive",
                   "toggleright-active", "toggleright-inactive",
                   "toggleboth-active", "toggleboth-inactive",
                   "toggledarkleft-active", "toggledarkleft-inactive",
                   "toggledarkmiddle-active", "toggledarkmiddle-inactive",
                   "toggledarkright-active", "toggledarkright-inactive",
                   "toggledarkboth-active", "toggledarkboth-inactive",
-                  "toolbarbutton-active", "toolbarbutton-default"];
+                  "toolbarbutton-active", "toolbarbutton-default",
+                  "addons-active", "addons-default",
+                  "downloads-active", "downloads-default",
+                  "preferences-active", "preferences-default",
+                  "settings-active", "settings-open"];
 
     let size = screen.width > 400 ? "-64" : "-36";
     for (let i = 0; i < images.length; i++) {
       let image = new Image();
       image.src = "chrome://browser/skin/images/" + images[i] + size + ".png";
     }
   }
 }