I am trying to add a new button in the toolbar. I managed to accomplish this by modifying the file "\browser\base\content\browser.xul". I added these lines:
<toolbarbutton id="games-button" class="toolbarbutton-1 chromeclass-toolbar-additional" persist="class" removable="true" label="&GamesButton.label;" onclick="BrowserGoGames(event);" cui-areatype="toolbar" tooltiptext="&Games.tooltip;"/> Everything is perfect, except the fact that there is no image for the button, so I edited this file: "\browser\themes\windows\browser.css" #games-button { list-style-image: url("chrome://browser/skin/gamesjoystick.png"); } However, it does not work - I can not see the image on the button. The button works, but the image is not shown. How can I set the image of my toolbar button ? _______________________________________________ dev-builds mailing list dev-builds@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-builds