Bug 521410 - buttons without labels should ignore the images-in-buttons setting. r=gavin

This commit is contained in:
Dão Gottwald 2010-01-07 09:43:41 +01:00
parent c7838fb8ec
commit ffa7884b2c

View File

@ -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