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
Родитель c7838fb8ec
Коммит ffa7884b2c
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

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