Bug 1275455 - Adding in icons for containers in customisable UI menu. r=baku

MozReview-Commit-ID: rjXUyaMDyg

--HG--
extra : transplant_source : 0%EB%7Bs%EF%22S%A6%95%92%D9%EC%80q%A2%C2%A1%EA%02d
This commit is contained in:
Jonathan Kingston 2016-05-26 04:20:23 +01:00
parent 0a07587d3c
commit 0408aec495
2 changed files with 6 additions and 0 deletions

View File

@ -1146,6 +1146,7 @@ if (Services.prefs.getBoolPref("privacy.userContext.enabled")) {
item.setAttribute("label", label);
item.setAttribute("usercontextid", identity.userContextId);
item.setAttribute("class", "subviewbutton");
item.setAttribute("image", identity.icon);
fragment.appendChild(item);
});

View File

@ -1450,6 +1450,11 @@ menuitem[checked="true"].subviewbutton > .menu-iconic-left {
visibility: hidden;
}
#PanelUI-containersItems > .subviewbutton > .toolbarbutton-icon {
width: 16px;
height: 16px;
}
.panel-mainview[panelid=customizationui-widget-panel],
#customizationui-widget-multiview > .panel-viewcontainer,
#customizationui-widget-multiview > .panel-viewcontainer > .panel-viewstack,