# HG changeset patch
# User t_mrc-ct@users.sourceforge.jp
# Date 1405955486 -32400
# Branch GECKO3111_2014090813_RELBRANCH
# Node ID cae70cd74845c322641f66ba9905296c206f9e9d
# Parent  efb130df11f0a65f092f7049a8e2159cae463ab2
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
