mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 573326 - In the toolbar customization window, hide the toolbarbutton label and replicate it on the wrapper. r=gavin
--HG-- extra : rebase_source : d70c7db9eac07e0df16b1ca824802654395278eb
This commit is contained in:
parent
3f6a4cac82
commit
64e8b18f9f
@ -57,3 +57,8 @@
|
||||
#main-box > box {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Hide the toolbarbutton label because we replicate it on the wrapper */
|
||||
toolbarpaletteitem[place="palette"] > .toolbarbutton-1 > .toolbarbutton-text {
|
||||
display: none;
|
||||
}
|
||||
|
@ -455,6 +455,8 @@ function cleanUpItemForPalette(aItem, aWrapper)
|
||||
|
||||
if (aItem.hasAttribute("title"))
|
||||
aWrapper.setAttribute("title", aItem.getAttribute("title"));
|
||||
else if (aItem.hasAttribute("label"))
|
||||
aWrapper.setAttribute("title", aItem.getAttribute("label"));
|
||||
else if (isSpecialItem(aItem)) {
|
||||
var stringBundle = document.getElementById("stringBundle");
|
||||
// Remove the common "toolbar" prefix to generate the string name.
|
||||
|
Loading…
Reference in New Issue
Block a user