pjs/browser/components/places/content-shim/browserShim.xul

46 строки
1.5 KiB
XML
Executable File

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://browser/content/places/browserShim.css"?>
<!DOCTYPE overlay SYSTEM "chrome://browser/locale/places/places.dtd">
<overlay id="placesBrowserShim"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript"
src="chrome://browser/content/places/controller.js"/>
<script type="application/x-javascript"
src="chrome://browser/content/places/browserShim.js"/>
<stringbundleset id="stringbundleset">
<stringbundle id="placeBundle" src="chrome://browser/locale/places/places.properties"/>
</stringbundleset>
<commandset id="mainCommandSet">
#include ../content/commands.inc
<command id="Browser:ShowPlaces" oncommand="PlacesBrowserShim.showPlaces();"/>
</commandset>
<popupset id="mainPopupSet">
#include ../content/context.inc
</popupset>
<toolbarpalette id="BrowserToolbarPalette">
<toolbarbutton id="bookmarksBarShowPlaces"
label="Show Places"
oncommand="PlacesBrowserShim.showPlaces()"/>
<toolbaritem flex="1" id="bookmarksBarContainer">
<hbox id="bookmarksBarContent" flex="1" context="placesContext"/>
</toolbaritem>
</toolbarpalette>
<toolbox id="navigator-toolbox">
<toolbar id="bookmarksToolbar"
defaultset="bookmarksBarShowPlaces,bookmarksBarContainer"
toolbarname="Places Toolbar"
customizable="true"/>
</toolbox>
</overlay>