# HG changeset patch
# User t_mrc-ct@users.sourceforge.jp
# Date 1405955486 -32400
#      Tue Jul 22 00:11:26 2014 +0900
# Branch GECKO3180_2015071409_RELBRANCH
# Node ID 20098268186af1ed41a730b1b4b74a7e9ac95b1a
# Parent  50abcc4becaf7fd032e5cb4371eee226f33cefd5
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
