Wrapped bookmarks hbox in toolbaritem and added places button and boomarks

toolbaritem to customize palette.  Make places bookmarks toolbar customizable.
This commit is contained in:
annie.sullivan%gmail.com 2005-11-29 20:28:15 +00:00
Родитель 9027bac0fe
Коммит a9f5da842c
1 изменённых файлов: 17 добавлений и 4 удалений

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

@ -11,6 +11,10 @@
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
@ -19,12 +23,21 @@
<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">
<toolbarbutton label="Show Places" oncommand="PlacesBrowserShim.showPlaces()"/>
<hbox id="bookmarksBarContent" flex="1" context="placesContext"/>
</toolbar>
<toolbar id="bookmarksToolbar"
defaultset="bookmarksBarShowPlaces,bookmarksBarContainer"
toolbarname="Places Toolbar"
customizable="true"/>
</toolbox>
<menubar id="main-menubar">