From ffa7884b2cdf34f926d6738f321a1e123012590d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A3o=20Gottwald?= Date: Thu, 7 Jan 2010 09:43:41 +0100 Subject: [PATCH] Bug 521410 - buttons without labels should ignore the images-in-buttons setting. r=gavin --- toolkit/content/xul.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toolkit/content/xul.css b/toolkit/content/xul.css index a706680b8880..b9ad1bb2fb19 100644 --- a/toolkit/content/xul.css +++ b/toolkit/content/xul.css @@ -144,7 +144,8 @@ button[type="menu-button"] { %ifdef MOZ_WIDGET_GTK2 /********* detection of system setting to use icons in buttons ***********/ -.button-icon:not(:-moz-system-metric(images-in-buttons)) { +button[label]:not([label=""]) > .button-box > .button-icon:not(:-moz-system-metric(images-in-buttons)), +button[label]:not([label=""]) > .button-box > .box-inherit > .button-icon:not(:-moz-system-metric(images-in-buttons)) { display: none; } %endif