# HG changeset patch
# User t_mrc-ct@users.osdn.jp
# Date 1435751440 -32400
#      Wed Jul 01 20:50:40 2015 +0900
# Branch THUNDERBIRD3880_2016050308_RELBRANCH
# Node ID f930bc4c9918760b72d1fa21fa1b7c994c4b89d6
# Parent  cafd608727d10af838b3b4ddb04b20a36e97e51a
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
