# HG changeset patch
# User t_mrc-ct@users.sourceforge.jp
# Date 1405955486 -32400
# Branch GECKO3150_2015022302_RELBRANCH
# Node ID 7d9365a48eeb34f703495cdc5ff4d7933cc8b447
# Parent  47f30039cdde8d29be909b932908b24c276ba9e4
controlling display of blue beach ball by ui.use_activity_cursor

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
@@ -501,16 +501,19 @@
 {
   Components.classes['@mozilla.org/download-manager-ui;1']
             .getService(Components.interfaces.nsIDownloadManagerUI)
             .show(window);
 }
 
 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
