# HG changeset patch
# User t_mrc-ct@users.osdn.jp
# Date 1435751440 -32400
#      Wed Jul 01 20:50:40 2015 +0900
# Branch GECKO3810_2015070713_RELBRANCH
# Node ID ec29bc6fdf4d0f8c35947f6a640cbe80fbc82403
# Parent  b7546f987ba7eb458fedf5b8db7061dc5324f672
controlling display of blue beach ball by ui.use_activity_cursor (v38.0.1 fix)

diff --git a/mail/base/content/mailCore.js b/mail/base/content/mailCore.js
--- a/mail/base/content/mailCore.js
+++ b/mail/base/content/mailCore.js
@@ -511,16 +511,19 @@
   let tabmail = document.getElementById("tabmail");
   tabmail.openTab("chromeTab",
                   { chromePage: "about:downloads",
                     clickHandler: "specialTabs.aboutClickHandler(event);" });
 }
 
 function SetBusyCursor(window, enable)
 {
+    if (! Services.prefs.getBoolPref("ui.use_activity_cursor")) {
+        return;
+    }
     // setCursor() is only available for chrome windows.
     // However one of our frames is the start page which
     // is a non-chrome window, so check if this window has a
     // setCursor method
     if ("setCursor" in window) {
         if (enable)
             window.setCursor("progress");
         else
