home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2005 December
/
PCWorld_2005-12_cd.bin
/
komunikace
/
netscape
/
nsb-install-8-0.exe
/
chrome
/
browser.jar
/
content
/
browser
/
titlebarOverlay.xul
< prev
next >
Wrap
Extensible Markup Language
|
2005-09-26
|
32KB
|
541 lines
<?xml version="1.0"?>
<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
%brandDTD;
<!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd" >
%browserDTD;
<!ENTITY % globalRegionDTD SYSTEM "chrome://global-region/locale/region.dtd">
%globalRegionDTD;
<!ENTITY % charsetDTD SYSTEM "chrome://global/locale/charsetOverlay.dtd" >
%charsetDTD;
<!ENTITY % findDTD SYSTEM "chrome://global/locale/finddialog.dtd" >
%findDTD;
<!ENTITY % multibarDTD SYSTEM "chrome://global/locale/multibar.dtd" >
%multibarDTD;
<!ENTITY % tabBrowserDTD SYSTEM "chrome://global/locale/tabbrowser.dtd" >
%tabBrowserDTD;
]>
<overlay id="titlebarOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<window id="main-window" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="chrome://browser/content/titlebar.js"
insertbefore="mainPopupSet"/>
<stack id="topstack">
<vbox id="topbox">
<toolbar id="titlebar" insertbefore="navigator-toolbox"
customizable="false" iconsize="small"
context="toolbar-context-menu"
onmouseover="titlebar.onmouseover(event);"
onmousemove="titlebar.onmousemove(event);">
<!-- onmouseout="titlebar.onmouseout(event);">-->
<hbox id="titlebar-container" flex="1" style="overflow: hidden;">
<spacer class="titlebar-left-margin"/>
<!-- Page title -->
<titlebar flex="1"
ondblclick="BrowserToggleMaximize();">
<label id="titlebar-title" flex="1" crop="right"/>
<hbox id="titlebar-separator"/>
</titlebar>
<!-- Menus -->
<stack id="titlebar-menu-stack" class="titlebar-menu-stack">
<toolbaritem id="menubar-items" class="chromeclass-menubar" align="center">
<menubar id="main-menubar" statusbar="statusbar-display"
style="border:0px;padding:0px;margin:0px;-moz-appearance:none">
<menu observes="mainMenuPopupBroadcaster" label="&fileMenu.label;"
accesskey="&fileMenu.accesskey;">
<menupopup id="menu_FilePopup" onpopupshowing="getContentAreaFrameCount();">
<menuitem label="&newNavigatorCmd.label;"
accesskey="&newNavigatorCmd.accesskey;"
key="key_newNavigator"
command="cmd_newNavigatorAlways"/>
<menuitem command="cmd_newNavigatorTab" key="key_newNavigatorTab"
label="&tabCmd.label;" accesskey="&tabCmd.accesskey;"/>
<menuitem label="&openLocationCmd.label;" accesskey="&openLocationCmd.accesskey;" key="focusURLBar" command="Browser:OpenLocation"/>
<menuitem label="&openFileCmd.label;" accesskey="&openFileCmd.accesskey;" key="openFileKb" command="Browser:OpenFile"/>
<menuitem id="menu_closeWindow" hidden="true" command="cmd_closeWindow" key="key_closeWindow" label="&closeWindow.label;" accesskey="&closeWindow.accesskey;"/>
<menuitem id="menu_close" label="&closeCmd.label;" key="key_close" accesskey="&closeCmd.accesskey;" command="cmd_close"/>
<menuseparator/>
<menuitem label="&savePageCmd.label;" accesskey="&savePageCmd.accesskey;" key="key_savePage" command="Browser:SavePage"/>
<menuitem id="menu_saveFrame" label="&saveFrameCmd.label;" accesskey="&saveFrameCmd.accesskey;" oncommand="saveFrameDocument();" hidden="true"/>
<menuitem id="menu_sendLink" label="&sendPageCmd.label;" accesskey="&sendPageCmd.accesskey;" command="Browser:SendLink"/>
<menuseparator/>
<!-- <menuitem label="&printSetupCmd.label;" accesskey="&printSetupCmd.accesskey;" oncommand="PrintUtils.showPageSetup();"/> -->
<menuitem label="&printSetupCmd.label;" accesskey="&printSetupCmd.accesskey;" oncommand="browserDoOLECmd(0);"/>
<!-- <menuitem label="&printPreviewCmd.label;" accesskey="&printPreviewCmd.accesskey;" oncommand="PrintUtils.printPreview(onEnterPrintPreview, onExitPrintPreview);"/> -->
<menuitem label="&printPreviewCmd.label;" accesskey="&printPreviewCmd.accesskey;" oncommand="browserDoOLECmd(1);"/>
<menuitem label="&printCmd.label;" accesskey="&printCmd.accesskey;" key="printKb" command="cmd_print"/>
<menuseparator/>
<menuitem label="&import.label;" accesskey="&import.accesskey;" oncommand="BrowserImport();"/>
<menuseparator/>
<menuitem id="goOfflineMenuitem"
label="&goOfflineCmd.label;" accesskey="&goOfflineCmd.accesskey;"
type="checkbox" oncommand="BrowserOffline.toggleOfflineStatus();"/>
<menuitem id="menu_FileQuitItem"
key="key_quitApplication"
command="cmd_quitApplication"
label="&quitApplicationCmdWin.label;"
accesskey="&quitApplicationCmdWin.accesskey;"
/>
</menupopup>
</menu>
<menu observes="mainMenuPopupBroadcaster" label="&editMenu.label;"
accesskey="&editMenu.accesskey;">
<menupopup id="menu_EditPopup">
<menuitem label="&undoCmd.label;"
key="key_undo"
accesskey="&undoCmd.accesskey;"
command="cmd_undo"/>
<menuitem label="&redoCmd.label;"
key="key_redo"
accesskey="&redoCmd.accesskey;"
command="cmd_redo"/>
<menuseparator/>
<menuitem label="&cutCmd.label;"
key="key_cut"
accesskey="&cutCmd.accesskey;"
command="cmd_cut"/>
<menuitem label="©Cmd.label;"
key="key_copy"
accesskey="©Cmd.accesskey;"
command="cmd_copy"/>
<menuitem label="&pasteCmd.label;"
key="key_paste"
accesskey="&pasteCmd.accesskey;"
command="cmd_paste"/>
<menuitem label="&deleteCmd.label;"
key="key_delete"
accesskey="&deleteCmd.accesskey;"
command="cmd_delete"/>
<menuseparator/>
<menuitem label="&selectAllCmd.label;"
key="key_selectAll"
accesskey="&selectAllCmd.accesskey;"
command="cmd_selectAll"/>
<menuseparator/>
<menuitem label="&findOnCmd.label;" accesskey="&findOnCmd.accesskey;" key="key_find" command="cmd_find"/>
<menuitem label="&findAgainCmd.label;" accesskey="&findAgainCmd.accesskey;" key="key_findAgain" command="cmd_findAgain"/>
<menuseparator hidden="true" id="textfieldDirection-separator"/>
<menuitem hidden="true" id="textfieldDirection-swap"
label="&bidiSwitchTextDirectionItem.label;"
key="key_SwitchTextDirection"
accesskey="&bidiSwitchTextDirectionItem.accesskey;"
command="cmd_SwitchTextDirection"/>
</menupopup>
</menu>
<menu observes="mainMenuPopupBroadcaster" label="&viewMenu.label;" accesskey="&viewMenu.accesskey;">
<menupopup id="menu_viewPopup">
<menu observes="mainMenuPopupBroadcaster" label="&viewToolbarsMenu.label;" accesskey="&viewToolbarsMenu.accesskey;"
onpopupshowing="onViewToolbarsPopupShowing(event);">
<menupopup autoPosition="true" observes="mainMenuPopupBroadcaster" onpopupshowing="updateToolbarStates(this);">
<menuseparator/>
<menuitem label="&viewCustomizeToolbar.label;" accesskey="&viewCustomizeToolbar.accesskey;"
command="cmd_CustomizeToolbars"/>
</menupopup>
</menu>
<menuitem id="toggle_taskbar" label="&taskbarCmd.label;" accesskey="&taskbarCmd.accesskey;" type="checkbox" oncommand="goToggleToolbar('status-bar','toggle_taskbar');" checked="true" />
<!-- Disabling Firefox sidebar submenu
<menu observes="mainMenuPopupBroadcaster" label="&viewSidebarMenu.label;"
accesskey="&viewSidebarMenu.accesskey;">
<menupopup observes="mainMenuPopupBroadcaster" id="viewSidebarMenu">
<menuitem key="viewBookmarksSidebarKb" observes="viewBookmarksSidebar" accesskey="&bookmarksSidebarCmd.accesskey;"/>
<menuitem key="key_gotoHistory" observes="viewHistorySidebar" accesskey="&historySidebarCmd.accesskey;"/>
</menupopup>
</menu>
-->
<menuseparator/>
<menuitem label="&stopCmd.label;" accesskey="&stopCmd.accesskey;" command="Browser:Stop" key="key_stop"/>
<menuitem accesskey="&reloadCmd.accesskey;" key="key_reload" label="&reloadCmd.label;" oncommand="BrowserReload();"/>
<menuseparator/>
<menu observes="mainMenuPopupBroadcaster" label="&textSize.label;" accesskey="&textSize.accesskey;">
<menupopup position="before_end">
<menuitem key="key_textZoomEnlarge" label="&textZoomEnlargeCmd.label;" accesskey="&textZoomEnlargeCmd.accesskey;"
command="cmd_textZoomEnlarge"/>
<menuitem key="key_textZoomReduce" label="&textZoomReduceCmd.label;" accesskey="&textZoomReduceCmd.accesskey;"
command="cmd_textZoomReduce"/>
<menuseparator/>
<menuitem key="key_textZoomReset" label="&textZoomResetCmd.label;" accesskey="&textZoomResetCmd.accesskey;"
command="cmd_textZoomReset"/>
</menupopup>
</menu>
<menu label="&pageStyleMenu.label;" accesskey="&pageStyleMenu.accesskey;">
<menupopup onpopupshowing="stylesheetFillPopup(this);"
oncommand="stylesheetSwitchAll(window._content, event.target.getAttribute('data')); setStyleDisabled(false);">
<menuitem label="&pageStyleNoStyle.label;" accesskey="&pageStyleNoStyle.accesskey;"
oncommand="setStyleDisabled(true); event.preventBubble();" type="radio"/>
<menuitem label="&pageStylePersistentOnly.label;" accesskey="&pageStylePersistentOnly.accesskey;" type="radio" checked="true"/>
<menuseparator/>
</menupopup>
</menu>
<menu label="&charsetMenu.label;" accesskey="&charsetMenu.accesskey;"
datasources="rdf:charset-menu" ref="NC:BrowserCharsetMenuRoot"
oncommand="MultiplexHandler(event)" onpopupshowing="CreateMenu('browser');UpdateMenus(event)" onpopupshown="CreateMenu('more-menu');">
<template>
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
<menupopup >
<menuseparator uri="..." />
</menupopup>
</rule>
<rule>
<menupopup>
<menuitem type="radio" name="charsetGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</menupopup>
</rule>
</template>
<menupopup >
<menu label="&charsetMenuAutodet.label;" accesskey="&charsetMenuAutodet.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserAutodetMenuRoot">
<template>
<!-- <rule rdf:type="http://home.netscape.com/NC-rdf#CharsetDetector"> -->
<rule>
<menupopup >
<menuitem type="radio" joshtype="rdf:http://home.netscape.com/NC-rdf#CharsetDetector" name="detectorGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</menupopup>
</rule>
</template>
<menupopup>
</menupopup>
</menu>
<menu label="&charsetMenuMore.label;" accesskey="&charsetMenuMore.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMoreCharsetMenuRoot">
<template>
<rule>
<menupopup position="before_end">
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</menupopup>
</rule>
</template>
<menupopup >
<menu label="&charsetMenuMore1.label;" accesskey="&charsetMenuMore1.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore1CharsetMenuRoot">
<template>
<rule>
<menupopup >
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</menupopup>
</rule>
</template>
<menupopup position="before_end">
</menupopup>
</menu>
<menu observes="mainMenuPopupBroadcaster" label="&charsetMenuMore2.label;" accesskey="&charsetMenuMore2.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore2CharsetMenuRoot">
<template>
<rule>
<menupopup >
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</menupopup>
</rule>
</template>
<menupopup >
</menupopup>
</menu>
<menu observes="mainMenuPopupBroadcaster" label="&charsetMenuMore3.label;" accesskey="&charsetMenuMore3.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore3CharsetMenuRoot">
<template>
<rule>
<menupopup >
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</menupopup>
</rule>
</template>
<menupopup position="before_end">
</menupopup>
</menu>
<menu observes="mainMenuPopupBroadcaster" label="&charsetMenuMore4.label;" accesskey="&charsetMenuMore4.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore4CharsetMenuRoot">
<template>
<rule>
<menupopup >
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</menupopup>
</rule>
</template>
<menupopup >
</menupopup>
</menu>
<menu observes="mainMenuPopupBroadcaster" label="&charsetMenuMore5.label;" accesskey="&charsetMenuMore5.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore5CharsetMenuRoot">
<template>
<rule>
<menupopup >
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</menupopup>
</rule>
</template>
<menupopup position="before_end">
</menupopup>
</menu>
<menu observes="mainMenuPopupBroadcaster" label="&charsetMenuUnicode.label;" accesskey="&charsetMenuUnicode.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserUnicodeCharsetMenuRoot">
<template>
<rule>
<menupopup >
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</menupopup>
</rule>
</template>
<menupopup >
</menupopup>
</menu>
<menuseparator />
</menupopup>
</menu>
<menuitem name="charsetCustomize" accesskey="&charsetCustomize.accesskey;" label="&charsetCustomize.label;" oncommand="window.openDialog('chrome://global/content/customizeCharset.xul','PrefWindow', 'chrome,modal=yes,resizable=yes', 'browser')"/>
</menupopup>
</menu>
<menu observes="mainMenuPopupBroadcaster" label="&viewMenuRenderingEngine.label;" accesskey="&viewMenuRenderingEngine.accesskey;">
<menupopup>
<menuitem observes="engineIsFirefoxBroadcaster" label="&viewFirefoxRenderingEngine.label;"
accesskey="&viewFirefoxRenderingEngine.accesskey;"
oncommand="gBrowser.mCurrentTab.toggleDisplayEngineSiteControl();"/>
<menuitem observes="engineIsIEBroadcaster" label="&viewIERenderingEngine.label;"
oncommand="gBrowser.mCurrentTab.toggleDisplayEngineSiteControl();"
accesskey="&viewIERenderingEngine.accesskey;"/>
<menuseparator/>
<menuitem label="&viewToggleRenderingEngine.label;"
id="viewMenuToggleRenderingEngine"
accesskey="&viewToggleRenderingEngine.accesskey;"
key="key_toggleEngine"
command="cmd_toggleEngine"/>
</menupopup>
</menu>
<menuseparator/>
<menuitem accesskey="&pageSourceCmd.accesskey;" label="&pageSourceCmd.label;" key="key_viewSource" command="View:PageSource"/>
<menuitem accesskey="&fullScreenCmd.accesskey;"
label="&fullScreenCmd.label;" key="key_fullScreen"
command="View:FullScreen"/>
<menuseparator hidden="true" id="documentDirection-separator"/>
<menuitem hidden="true" id="documentDirection-swap"
label="&bidiSwitchPageDirectionItem.label;" accesskey="&bidiSwitchPageDirectionItem.accesskey;"
oncommand="SwitchDocumentDirection()"/>
</menupopup>
</menu>
<menu observes="mainMenuPopupBroadcaster" label="&goMenu.label;" accesskey="&goMenu.accesskey;"
oncommand="var url = event.target.getAttribute('statustext'); if (url) openGOLink(url, event, false, true);"
onclick="checkForMiddleClick(this, event);">
<menupopup id="goPopup" onpopupshowing="updateGoMenu(this);" onpopuphiding="onGoMenuHidden();">
<menuitem label="&backCmd.label;"
accesskey="&backCmd.accesskey;"
key="goBackKb"
command="Browser:Back"
onclick="checkForMiddleClick(this, event);">
<!-- JMC oncommand="BrowserBack(event, true)">
<observes element="Browser:Back" attribute="disabled" /> -->
</menuitem>
<menuitem label="&forwardCmd.label;"
accesskey="&forwardCmd.accesskey;"
key="goForwardKb"
command="Browser:Forward"
onclick="checkForMiddleClick(this, event);">
<!-- JMC oncommand="BrowserForward(event, true)">
<observes element="Browser:Forward" attribute="disabled" /> -->
</menuitem>
<menuitem label="&goHomeCmd.label;" accesskey="&goHomeCmd.accesskey;" command="Browser:Home" key="goHome"/>
<menuseparator id="startHistorySeparator"/>
<menuseparator hidden="true" id="endHistorySeparator"/>
<!-- MERC: menu item now handled in sidebar overlay
<menuitem observes="viewHistorySidebar" accesskey="&historySidebarCmd.accesskey;" key="key_gotoHistory"/>
-->
</menupopup>
</menu>
<menu observes="mainMenuPopupBroadcaster" id="bookmarks-menu" label="&bookmarksMenu.label;" accesskey="&bookmarksMenu.accesskey;"
datasources="rdf:bookmarks rdf:files rdf:localsearch"
ref="NC:BookmarksRoot" flags="dont-test-empty"
template='bookmarks-template'
infer="forward-proxy"
onpopupshowing="BookmarksMenu.onShowMenu(event.target)"
onpopuphidden="BookmarksMenu.onHideMenu(event.target)"
oncommand="BookmarksMenu.onSelectBookmark(event, event.target, this.database)"
onclick="BookmarksMenu.loadBookmarkMiddleClick(event, this.database)"
ondraggesture="nsDragAndDrop.startDrag(event, BookmarksMenuDNDObserver)"
ondragdrop="nsDragAndDrop.drop(event, BookmarksMenuDNDObserver); event.preventBubble()"
ondragenter="nsDragAndDrop.dragEnter(event, BookmarksMenuDNDObserver); event.preventBubble()"
ondragexit="nsDragAndDrop.dragExit(event, BookmarksMenuDNDObserver); event.preventBubble()"
ondragover="nsDragAndDrop.dragOver(event, BookmarksMenuDNDObserver); event.preventBubble()">
<menupopup id="menu_BookmarksPopup" contextmenu='bookmarks-context-menu'>
<menuitem key="addBookmarkAsKb"
label="&addCurPageAsCmd.label;"
accesskey="&addCurPageAsCmd.accesskey;"
command="Browser:BookmarkPage"/>
<menuitem key="manBookmarkKb"
label="&manBookmarksCmd.label;"
accesskey="&manBookmarksCmd.accesskey;"
oncommand="toOpenWindowByType('bookmarks:manager', 'chrome://browser/content/bookmarks/bookmarksManager.xul');"/>
<menuitem key="addBookmarkAsTabGrp"
label="&addCurTabsAsCmd.label;"
accesskey="&addCurTabsAsCmd.accesskey;"
command="Browser:BookmarkTabsFromMultibar"/>
<!-- JMC: Fix for BLT # 122428, don't know why the old function (Browser:BookmarkTabs) even exists -->
<menuseparator/>
</menupopup>
</menu>
<menu observes="mainMenuPopupBroadcaster" label="&toolsMenu.label;" accesskey="&toolsMenu.accesskey;">
<menupopup id="menu_ToolsPopup"
onpopupshowing="MailIntegration.updateUnreadCount();"
>
<menuitem label="&search.label;" accesskey="&search.accesskey;"
key="key_search" command="Tools:Search"/>
<menuseparator/>
<menuitem label="&downloads.label;" accesskey="&downloads.accesskey;"
key="key_openDownloads"
command="Tools:Downloads"/>
<menuitem label="&extensions.label;" accesskey="&extensions.accesskey;"
command="Tools:Extensions"/>
<menuitem label="&themes.label;" accesskey="&themes.accesskey;"
command="Tools:Themes"/>
<menuseparator id="devToolsSeparator"/>
<menuitem id="javascriptConsole"
label="&javaScriptConsoleCmd.label;" accesskey="&javaScriptConsoleCmd.accesskey;"
oncommand="toJavaScriptConsole();"/>
<menuitem accesskey="&pageInfoCmd.accesskey;" label="&pageInfoCmd.label;"
command="View:PageInfo"/>
<menuseparator id="prefSep"/>
<menuitem id="menu_preferences"
label="&preferencesCmd.label;"
accesskey="&preferencesCmd.accesskey;"
oncommand="openPreferences();"/>
</menupopup>
</menu>
<menu observes="mainMenuPopupBroadcaster" label="&helpMenuWin.label;"
accesskey="&helpMenuWin.accesskey;">
<menupopup autoPosition="true" observes="mainMenuPopupBroadcaster" id="menu_HelpPopup">
<!-- // MERC: ccampbell: removing menu item
<menuseparator/>
<menuitem accesskey="&promote.accesskey;"
label="&promote.label;"
oncommand="openUILink(getUILink('promote'), event, false, true);"
onclick="checkForMiddleClick(this, event);"/>
<menuseparator/>
-->
<menuitem id="aboutName"
accesskey="&aboutCmd.accesskey;"
label="&aboutCmd.label;"
oncommand="openAboutDialog();"/>
</menupopup>
</menu>
</menubar>
<template id="bookmarks-template"
xmlns:nc="http://home.netscape.com/NC-rdf#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rule parent="hbox" rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
<toolbarseparator uri="rdf:*"
rdf:type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type"/>
</rule>
<rule parent="hbox" rdf:type="http://home.netscape.com/NC-rdf#Livemark">
<toolbarbutton type="menu" class="bookmark-item" uri="rdf:*" editable="true"
rdf:type="http://home.netscape.com/NC-rdf#Folder"
label="rdf:http://home.netscape.com/NC-rdf#Name"
livemark="true"
chromedir="&locale.dir;">
<menupopup observes="mainMenuPopupBroadcaster" contextmenu="bookmarks-context-menu"/>
</toolbarbutton>
</rule>
<rule parent="hbox" iscontainer="true">
<toolbarbutton type="menu" class="bookmark-item" uri="rdf:*" editable="true"
rdf:type="http://home.netscape.com/NC-rdf#Folder"
label="rdf:http://home.netscape.com/NC-rdf#Name">
<menupopup observes="mainMenuPopupBroadcaster" contextmenu="bookmarks-context-menu"/>
</toolbarbutton>
</rule>
<rule parent="hbox">
<toolbarbutton class="bookmark-item" uri="rdf:*" editable="true"
status="rdf:http://home.netscape.com/WEB-rdf#status"
rdf:type="http://home.netscape.com/NC-rdf#Bookmark"
image="rdf:http://home.netscape.com/NC-rdf#Icon"
statustext="rdf:http://home.netscape.com/NC-rdf#URL"
tooltip="btTooltip"
label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</rule>
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
<menupopup observes="mainMenuPopupBroadcaster" >
<menuseparator uri="rdf:*" />
</menupopup>
</rule>
<rule rdf:type="http://home.netscape.com/NC-rdf#Livemark">
<menupopup observes="mainMenuPopupBroadcaster" >
<menu observes="mainMenuPopupBroadcaster" class="menu-iconic bookmark-item" uri="rdf:*"
label="rdf:http://home.netscape.com/NC-rdf#Name"
type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
livemark="true">
<menupopup observes="mainMenuPopupBroadcaster" contextmenu="bookmarks-context-menu"/>
</menu>
</menupopup>
</rule>
<rule iscontainer="true">
<menupopup observes="mainMenuPopupBroadcaster" >
<menu observes="mainMenuPopupBroadcaster" class="menu-iconic bookmark-item" uri="rdf:*"
label="rdf:http://home.netscape.com/NC-rdf#Name"
type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
<menupopup observes="mainMenuPopupBroadcaster" contextmenu="bookmarks-context-menu"/>
</menu>
</menupopup>
</rule>
<rule>
<menupopup observes="mainMenuPopupBroadcaster" >
<menuitem class="menuitem-iconic bookmark-item" uri="rdf:*"
label="rdf:http://home.netscape.com/NC-rdf#Name"
image="rdf:http://home.netscape.com/NC-rdf#Icon"
status="rdf:http://home.netscape.com/WEB-rdf#status"
statustext="rdf:http://home.netscape.com/NC-rdf#URL"/>
</menupopup>
</rule>
</template>
</toolbaritem>
<vbox id="menu-label-box" align="right" hidden="true">
<spacer flex="1"/>
<label id="menu-label"><< Menu</label>
<spacer flex="1"/>
</vbox>
</stack>
</hbox>
<!-- Window controls --><!-- fullscreencontrol="true" ? -->
<toolbaritem id="window-controls">
<toolbarbutton id="minimize-button" class="toolbarbutton-1"
oncommand="window.minimize();" tooltiptext="Minimize"/>
<toolbarbutton id="restore-button" class="toolbarbutton-1"
oncommand="BrowserToggleMaximize();" observes="restoreButtonBroadcaster"/>
<toolbarbutton id="close-button" class="toolbarbutton-1"
oncommand="BrowserClosedByCloseButton();" tooltiptext="Close"/>
</toolbaritem>
</toolbar>
</vbox>
<!-- Throbber -->
<toolbaritem id="throbber-box" title="&throbberItem.title;"
align="stretch" pack="start"
top="0" left="0">
<titlebar flex="1" align="start"
onmousedown="titlebar.throbberMouseDown(event);"
onmouseup="titlebar.throbberMouseUp(event);">
<button id="navigator-throbber" observes="throbberBroadcaster"
tooltiptext="&throbber.tooltip;"/>
</titlebar>
</toolbaritem>
</stack>
</window>
</overlay>