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