Bug 947915 - fix sync button pending state on Australis win7 glass on menubar/tabstoolbar, r=mikedeboer
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Wed, 29 Jan 2014 16:27:33 +0000
changeset 165788 35f758e7ac6ae4070a733d0fca8f63afa1ebef6d
parent 165787 d0b34b1a097ef47e9d88a40b4ed9f980c4eed93f
child 165789 849724d4081e38dbf64621b3b8f51aeb549a2168
push id26103
push userryanvm@gmail.com
push dateWed, 29 Jan 2014 20:18:50 +0000
treeherdermozilla-central@90bfbf075f3f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmikedeboer
bugs947915
milestone29.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 947915 - fix sync button pending state on Australis win7 glass on menubar/tabstoolbar, r=mikedeboer
browser/themes/windows/browser.css
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -720,18 +720,21 @@ menuitem.bookmark-item {
 
 #home-button.bookmark-item {
   list-style-image: url("chrome://browser/skin/Toolbar.png");
 }
 #home-button.bookmark-item:-moz-lwtheme-brighttext {
   list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
 }
 
-#sync-button[status="active"] {
-  list-style-image: url("chrome://browser/skin/sync-throbber.png");
+#sync-button[cui-areatype="toolbar"][status="active"] {
+  /* !important because we need to override the glass selectors that trigger
+   * use of the Toolbar-inverted image. Those use a list of all primary toolbar
+   * buttons, so we can't easily fix those selectors. */
+  list-style-image: url("chrome://browser/skin/sync-throbber.png") !important;
   -moz-image-region: rect(0, 18px, 18px, 0);
 }
 
 /* tabview button & menu item */
 
 #menu_tabview {
   list-style-image: url(chrome://browser/skin/tabview/tabview.png);
   -moz-image-region: rect(1px, 89px, 17px, 73px);