2006-09-14 10:07:18 +04:00
|
|
|
<?xml version="1.0"?> <!-- -*- Mode: HTML; indent-tabs-mode: nil -*- -->
|
2006-09-14 09:59:34 +04:00
|
|
|
|
|
|
|
<!-- The contents of this file are subject to the Netscape Public
|
|
|
|
License Version 1.1 (the "License"); you may not use this file
|
|
|
|
except in compliance with the License. You may obtain a copy of
|
|
|
|
the License at http://www.mozilla.org/NPL/
|
|
|
|
|
|
|
|
Software distributed under the License is distributed on an "AS
|
|
|
|
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
implied. See the License for the specific language governing
|
|
|
|
rights and limitations under the License.
|
|
|
|
|
|
|
|
The Original Code is Mozilla Communicator client code, released
|
|
|
|
March 31, 1998.
|
|
|
|
|
|
|
|
The Initial Developer of the Original Code is Netscape
|
|
|
|
Communications Corporation. Portions created by Netscape are
|
|
|
|
Copyright (C) 1998-2000 Netscape Communications Corporation. All
|
|
|
|
Rights Reserved.
|
|
|
|
|
2006-09-14 10:04:27 +04:00
|
|
|
Contributor(s):
|
|
|
|
Dean Tessman <dean_tessman@hotmail.com>
|
|
|
|
-->
|
2006-09-14 09:59:34 +04:00
|
|
|
|
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?>
|
|
|
|
|
|
|
|
<?xul-overlay href="chrome://navigator/content/navigatorOverlay.xul"?>
|
|
|
|
<?xul-overlay href="chrome://navigator/content/navExtraOverlay.xul"?>
|
2006-09-14 10:00:30 +04:00
|
|
|
<?xul-overlay href="chrome://navigator/content/linkToolbarOverlay.xul"?>
|
2006-09-14 10:04:23 +04:00
|
|
|
<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
|
2006-09-14 09:59:34 +04:00
|
|
|
<?xul-overlay href="chrome://communicator/content/sidebar/sidebarOverlay.xul"?>
|
|
|
|
<?xul-overlay href="chrome://communicator/content/communicatorOverlay.xul"?>
|
|
|
|
<?xul-overlay href="chrome://communicator/content/bookmarks/bookmarksOverlay.xul"?>
|
|
|
|
|
|
|
|
|
|
|
|
<!DOCTYPE window [
|
|
|
|
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
|
|
|
%brandDTD;
|
|
|
|
<!ENTITY % buildDTD SYSTEM "chrome://global/content/build.dtd" >
|
|
|
|
%buildDTD;
|
|
|
|
<!ENTITY % navigatorDTD SYSTEM "chrome://navigator/locale/navigator.dtd" >
|
|
|
|
%navigatorDTD;
|
|
|
|
]>
|
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-09-14 10:00:47 +04:00
|
|
|
<window id="main-window"
|
2006-09-14 09:59:34 +04:00
|
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
onload="Startup()" onunload="Shutdown()"
|
2006-09-14 10:07:42 +04:00
|
|
|
onclose="return WindowIsClosing();"
|
2006-09-14 09:59:34 +04:00
|
|
|
contenttitlesetting="true"
|
|
|
|
title="&mainWindow.title;"
|
|
|
|
titlemodifier="&mainWindow.titlemodifier;"
|
|
|
|
titlemenuseparator="&mainWindow.titlemodifiermenuseparator;"
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-09-14 10:00:47 +04:00
|
|
|
windowtype="navigator:browser"
|
2006-09-14 10:02:18 +04:00
|
|
|
width="610" height="450"
|
2006-09-14 10:02:23 +04:00
|
|
|
screenX="4" screenY="4"
|
|
|
|
persist="screenX screenY width height sizemode">
|
2006-09-14 09:59:34 +04:00
|
|
|
|
|
|
|
<!-- Generic Utility -->
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/nsUserSettings.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/nsClipboard.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
2006-09-14 10:03:19 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://global/content/fullScreen.js"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
|
|
|
<!-- Content Area -->
|
|
|
|
<script type="application/x-javascript" src="chrome://navigator/content/nsBrowserStatusHandler.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://navigator/content/nsBrowserContentListener.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/contentAreaClick.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/contentAreaDD.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/findUtils.js"/>
|
2006-09-14 10:06:32 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/printing.js"/>
|
2006-09-14 10:07:49 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/XPCNativeWrapper.js"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
|
|
|
<!-- Shared Bookmarks Utility Library -->
|
2006-09-14 10:07:21 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/bookmarks/bookmarks.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/bookmarks/bookmarksMenu.js"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
|
|
|
<!-- Navigator -->
|
2006-09-14 10:01:41 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://navigator/content/browser.js"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://navigator/content/navigator.js"/>
|
2006-09-14 10:01:54 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://navigator/content/navigatorDD.js"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://navigator/content/sessionHistoryUI.js"/>
|
|
|
|
|
|
|
|
<!-- hook for stringbundle overlays -->
|
|
|
|
<stringbundleset id="stringbundleset">
|
|
|
|
<stringbundle id="bundle_navigator" src="chrome://navigator/locale/navigator.properties"/>
|
|
|
|
<stringbundle id="bundle_brand" src="chrome://global/locale/brand.properties"/>
|
|
|
|
<stringbundle id="bundle_navigator_region" src="chrome://navigator-region/locale/region.properties"/>
|
|
|
|
<stringbundle id="bundle_brand_region" src="chrome://global-region/locale/region.properties"/>
|
|
|
|
<stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
|
|
|
|
</stringbundleset>
|
|
|
|
|
|
|
|
<commandset id="commands">
|
2006-09-14 10:07:13 +04:00
|
|
|
<commandset id="findTypeMenuItems"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
<commandset id="globalEditMenuItems"/>
|
|
|
|
<commandset id="selectEditMenuItems"/>
|
|
|
|
<commandset id="undoEditMenuItems"/>
|
|
|
|
<commandset id="clipboardEditMenuItems"/>
|
|
|
|
<!-- <command id="cmd_pageSetup"/> -->
|
|
|
|
<command id="toggleSidebar"/>
|
|
|
|
</commandset>
|
|
|
|
|
|
|
|
<!-- broadcasters are appended from the overlay -->
|
|
|
|
<broadcasterset id="navBroadcasters"/>
|
|
|
|
|
|
|
|
<!-- keys are appended from the overlay -->
|
|
|
|
<keyset id="navKeys">
|
|
|
|
<key id="showHideSidebar"/>
|
|
|
|
</keyset>
|
|
|
|
|
2006-09-14 10:03:12 +04:00
|
|
|
<popup id="backMenu" position="after_start" onpopupshowing="return BrowserBackMenu(event);" oncommand="gotoHistoryIndex(event);"/>
|
|
|
|
<popup id="forwardMenu" position="after_start" onpopupshowing="return BrowserForwardMenu(event);" oncommand="gotoHistoryIndex(event);"/>
|
|
|
|
<tooltip id="aHTMLTooltip" onpopupshowing="return FillInHTMLTooltip(document.tooltipNode);"/>
|
|
|
|
<popup id="sidebarPopup"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
2006-09-14 10:03:12 +04:00
|
|
|
<popupset id="bookmarksPopupset"/>
|
2006-09-14 10:07:21 +04:00
|
|
|
<tooltip id="btTooltip"/>
|
|
|
|
<template id="bookmarksMenuTemplate"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
2006-09-14 10:03:12 +04:00
|
|
|
<!-- context menu -->
|
|
|
|
<popupset id="contentAreaContextSet"/>
|
|
|
|
|
2006-09-14 09:59:34 +04:00
|
|
|
<toolbox id="navigator-toolbox" class="toolbox-top" deferattached="true">
|
|
|
|
<!-- Menu -->
|
2006-09-14 10:06:47 +04:00
|
|
|
<menubar id="main-menubar" persist="collapsed" grippytooltiptext="&menuBar.tooltip;"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
2006-09-14 10:06:47 +04:00
|
|
|
<toolbar class="toolbar-primary chromeclass-toolbar" id="nav-bar" persist="collapsed"
|
2006-09-14 10:01:40 +04:00
|
|
|
grippytooltiptext="&navigationToolbar.tooltip;"
|
2006-09-14 10:03:18 +04:00
|
|
|
tbalign="stretch" fullscreentoolbar="true">
|
2006-09-14 09:59:34 +04:00
|
|
|
<hbox id="nav-bar-buttons">
|
2006-09-14 09:59:37 +04:00
|
|
|
<toolbarbutton id="back-button" type="menu-button" class="toolbarbutton-1"
|
2006-09-14 10:01:17 +04:00
|
|
|
label="&backButton.label;"
|
2006-09-14 09:59:37 +04:00
|
|
|
oncommand="if (event.target==this) BrowserBack(); else gotoHistoryIndex(event);"
|
|
|
|
observes="canGoBack" context="backMenu"
|
2006-09-14 10:00:32 +04:00
|
|
|
tooltiptext="&backButton.tooltip;">
|
2006-09-14 09:59:34 +04:00
|
|
|
<menupopup context="" onpopupshowing="BrowserBackMenu(event);"/>
|
2006-09-14 09:59:37 +04:00
|
|
|
</toolbarbutton>
|
|
|
|
|
|
|
|
<toolbarbutton id="forward-button" type="menu-button" class="toolbarbutton-1"
|
2006-09-14 10:01:17 +04:00
|
|
|
label="&forwardButton.label;"
|
2006-09-14 09:59:37 +04:00
|
|
|
oncommand="if (event.target==this) BrowserForward(); else gotoHistoryIndex(event);"
|
|
|
|
observes="canGoForward" context="forwardMenu"
|
2006-09-14 10:00:32 +04:00
|
|
|
tooltiptext="&forwardButton.tooltip;">
|
2006-09-14 09:59:34 +04:00
|
|
|
<menupopup context="" onpopupshowing="BrowserForwardMenu(event);"/>
|
2006-09-14 09:59:37 +04:00
|
|
|
</toolbarbutton>
|
|
|
|
|
|
|
|
<toolbarbutton id="reload-button" class="toolbarbutton-1"
|
2006-09-14 10:01:17 +04:00
|
|
|
label="&reloadButton.label;"
|
2006-09-14 09:59:37 +04:00
|
|
|
oncommand="if (event.shiftKey) BrowserReloadSkipCache(); else BrowserReload();"
|
2006-09-14 10:00:32 +04:00
|
|
|
tooltiptext="&reloadButton.tooltip;"/>
|
2006-09-14 09:59:37 +04:00
|
|
|
|
|
|
|
<toolbarbutton id="stop-button" class="toolbarbutton-1"
|
2006-09-14 10:01:17 +04:00
|
|
|
label="&stopButton.label;"
|
2006-09-14 09:59:37 +04:00
|
|
|
oncommand="BrowserStop();" observes="canStop"
|
2006-09-14 10:00:32 +04:00
|
|
|
tooltiptext="&stopButton.tooltip;"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
</hbox>
|
2006-09-14 10:01:17 +04:00
|
|
|
|
2006-09-14 09:59:34 +04:00
|
|
|
<hbox id="nav-bar-inner" flex="1">
|
2006-09-14 10:07:23 +04:00
|
|
|
<observes element="nav-bar" attribute="buttonstyle"/>
|
2006-09-14 10:06:34 +04:00
|
|
|
<textbox id="urlbar" class="chromeclass-location uri-element" flex="1"
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2006-09-14 10:02:17 +04:00
|
|
|
type="autocomplete" searchSessions="history"
|
|
|
|
timeout="50" maxrows="6" alwaysopenpopup="true"
|
2006-09-14 10:06:46 +04:00
|
|
|
disablehistory="false" accesskey="&locationBar.accesskey;"
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2006-09-14 10:02:17 +04:00
|
|
|
defaultSearchEngine="true" tabScrolling="true"
|
|
|
|
showCommentColumn="true"
|
2006-09-14 10:03:12 +04:00
|
|
|
inputtooltiptext="&locationBar.tooltip;"
|
2006-09-14 10:07:39 +04:00
|
|
|
oninput="gBrowser.userTypedValue = this.value;"
|
2006-09-14 10:02:25 +04:00
|
|
|
ontextcommand="return handleURLBarCommand(eventParam, domEvent);"
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2006-09-14 10:02:17 +04:00
|
|
|
ontextrevert="return handleURLBarRevert();"
|
|
|
|
onfocus="URLBarFocusHandler(event);"
|
2006-09-14 10:04:27 +04:00
|
|
|
onmousedown="URLBarMouseDownHandler(event);"
|
2006-09-14 10:04:29 +04:00
|
|
|
onclick="URLBarClickHandler(event);">
|
2006-09-14 10:07:18 +04:00
|
|
|
<deck id="page-proxy-deck" onclick="handlePageProxyClick(event);">
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2006-09-14 10:02:17 +04:00
|
|
|
<image id="page-proxy-button"
|
2006-09-14 10:03:20 +04:00
|
|
|
ondraggesture="PageProxyDragGesture(event);"
|
|
|
|
tooltiptext="&proxyIcon.tooltip;"/>
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2006-09-14 10:02:17 +04:00
|
|
|
<image id="page-proxy-favicon" validate="never"
|
|
|
|
ondraggesture="PageProxyDragGesture(event);"
|
|
|
|
onload="this.parentNode.selectedIndex = 1;
|
|
|
|
event.stopPropagation();
|
|
|
|
event.preventBubble();
|
|
|
|
HandleBookmarkIcon(this.src, true);"
|
2006-09-14 10:03:20 +04:00
|
|
|
onerror="gBrowser.addToMissedIconCache(this.src); HandleBookmarkIcon(this.src, false);"
|
|
|
|
tooltiptext="&proxyIcon.tooltip;"/>
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2006-09-14 10:02:17 +04:00
|
|
|
</deck>
|
|
|
|
|
|
|
|
<menupopup id="ubhist-popup" class="autocomplete-history-popup"
|
|
|
|
popupalign="topleft" popupanchor="bottomleft"
|
|
|
|
onpopupshowing="createUBHistoryMenu(event.target);"
|
|
|
|
oncommand="executeUrlBarHistoryCommand(event.target);"/>
|
|
|
|
</textbox>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
2006-09-14 09:59:37 +04:00
|
|
|
<button id="go-button" class="button-toolbar chromeclass-location"
|
|
|
|
label="&goButton.label;" hidden="true" persist="hidden"
|
2006-09-14 10:05:08 +04:00
|
|
|
oncommand="addToUrlbarHistory(); BrowserLoadURL(event);"
|
2006-09-14 09:59:37 +04:00
|
|
|
ondragover="nsDragAndDrop.dragOver(event, goButtonObserver);"
|
|
|
|
ondragdrop="nsDragAndDrop.drop(event, goButtonObserver);"
|
|
|
|
ondragexit="nsDragAndDrop.dragExit(event, goButtonObserver);"
|
2006-09-14 10:04:03 +04:00
|
|
|
tooltiptext="&goButton.tooltip;" default="true"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
2006-09-14 09:59:37 +04:00
|
|
|
<button id="search-button" class="button-toolbar chromeclass-location"
|
|
|
|
label="&searchButton.label;" persist="hidden"
|
2006-09-14 10:04:30 +04:00
|
|
|
oncommand="OpenSearch('internet',false, QualifySearchTerm());"
|
2006-09-14 09:59:37 +04:00
|
|
|
ondragover="nsDragAndDrop.dragOver(event, searchButtonObserver);"
|
|
|
|
ondragdrop="nsDragAndDrop.drop(event, searchButtonObserver);"
|
|
|
|
ondragexit="nsDragAndDrop.dragExit(event, searchButtonObserver);"
|
2006-09-14 10:00:32 +04:00
|
|
|
tooltiptext="&searchButton.tooltip;"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
</hbox>
|
|
|
|
|
2006-09-14 09:59:37 +04:00
|
|
|
<toolbarbutton id="print-button" type="menu-button" class="toolbarbutton-1"
|
2006-09-14 10:01:17 +04:00
|
|
|
label="&printButton.label;" persist="hidden"
|
2006-09-14 10:06:32 +04:00
|
|
|
oncommand="if (event.target==this) NSPrint();"
|
2006-09-14 10:00:32 +04:00
|
|
|
tooltiptext="&printButton.tooltip;">
|
2006-09-14 09:59:37 +04:00
|
|
|
<menupopup id="printMenu">
|
2006-09-14 10:01:22 +04:00
|
|
|
<menuitem id="printMenuItemToolbar" label="&printCmd.label;" accesskey="&printCmd.accesskey;"
|
2006-09-14 10:06:32 +04:00
|
|
|
default="true" oncommand="NSPrint()"/>
|
2006-09-14 10:07:29 +04:00
|
|
|
<menuitem id="printPreviewMenuItemToolbar" label="&printPreviewCmd.label;" accesskey="&printPreviewCmd.accesskey;"
|
2006-09-14 10:03:36 +04:00
|
|
|
oncommand="setTimeout(BrowserPrintPreview, 0);"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
</menupopup>
|
2006-09-14 09:59:37 +04:00
|
|
|
</toolbarbutton>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
|
|
|
<hbox id="throbber-box" align="center">
|
2006-09-14 09:59:37 +04:00
|
|
|
<button id="navigator-throbber" oncommand="goClickThrobber('browser.throbber.url')"
|
2006-09-14 10:00:32 +04:00
|
|
|
tooltiptext="&throbber.tooltip;"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
</hbox>
|
2006-09-14 10:03:18 +04:00
|
|
|
|
|
|
|
<hbox id="window-controls" hidden="true" fullscreencontrol="true">
|
|
|
|
<toolbarbutton id="minimize-button" class="toolbarbutton-1"
|
|
|
|
oncommand="window.minimize();"/>
|
|
|
|
|
|
|
|
<toolbarbutton id="restore-button" class="toolbarbutton-1"
|
|
|
|
oncommand="BrowserFullScreen();"/>
|
|
|
|
|
|
|
|
<toolbarbutton id="close-button" class="toolbarbutton-1"
|
|
|
|
oncommand="window.close();"/>
|
|
|
|
</hbox>
|
2006-09-14 09:59:34 +04:00
|
|
|
</toolbar>
|
|
|
|
|
2006-09-14 10:06:47 +04:00
|
|
|
<toolbar id="PersonalToolbar" class="chromeclass-directories" persist="collapsed"
|
2006-09-14 10:07:51 +04:00
|
|
|
grippytooltiptext="&personalToolbar.tooltip;" tbalign="stretch" prefixhidden="true"
|
2006-09-14 10:07:21 +04:00
|
|
|
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()">
|
2006-09-14 09:59:34 +04:00
|
|
|
|
2006-09-14 10:06:35 +04:00
|
|
|
<tooltip id="home-button-tooltip" noautohide="true">
|
|
|
|
<vbox id="home-button-tooltip-inner" flex="1"/>
|
|
|
|
</tooltip>
|
2006-09-14 09:59:37 +04:00
|
|
|
<toolbarbutton id="home-button" class="bookmark-item"
|
2006-09-14 10:00:32 +04:00
|
|
|
label="&homeButton.label;" persist="hidden"
|
2006-09-14 10:04:12 +04:00
|
|
|
oncommand="BrowserHome(); event.preventBubble()"
|
2006-09-14 10:06:35 +04:00
|
|
|
tooltip="home-button-tooltip"
|
2006-09-14 10:04:12 +04:00
|
|
|
ondraggesture="nsDragAndDrop.startDrag(event, homeButtonObserver)"
|
|
|
|
ondragdrop="nsDragAndDrop.drop(event, homeButtonObserver); event.preventBubble()"
|
|
|
|
ondragenter="event.preventBubble()"
|
|
|
|
ondragexit="nsDragAndDrop.dragExit(event, homeButtonObserver); event.preventBubble()"
|
|
|
|
ondragover="nsDragAndDrop.dragOver(event, homeButtonObserver); event.preventBubble()"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
2006-09-14 09:59:35 +04:00
|
|
|
<toolbarseparator id="home-bm-separator" persist="hidden"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
|
|
|
<!-- "Bookmarks" button on personal toolbar -->
|
2006-09-14 09:59:37 +04:00
|
|
|
<toolbarbutton type="menu" id="bookmarks-button" class="bookmark-item"
|
2006-09-14 10:01:17 +04:00
|
|
|
persist="hidden" label="&bookmarksButton.label;"
|
2006-09-14 09:59:37 +04:00
|
|
|
datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch"
|
|
|
|
ref="NC:BookmarksRoot" container="true" flags="dont-test-empty"
|
2006-09-14 10:07:21 +04:00
|
|
|
oncommand="BookmarksMenu.loadBookmark(event.target, this.database)"
|
2006-09-14 10:04:12 +04:00
|
|
|
template="bookmarksMenuTemplate"
|
|
|
|
ondraggesture="if (event.target.id=='bookmarks-button') event.preventBubble()">
|
2006-09-14 10:07:21 +04:00
|
|
|
<menupopup onpopupshowing="updateGroupmarkMenuitem('PT_bookmarks_groupmark');">
|
2006-09-14 10:04:12 +04:00
|
|
|
<menuitem accesskey="&addCurPageCmd.accesskey;" key="addBookmarkKb" observes="Browser:AddBookmark"/>
|
|
|
|
<menuitem accesskey="&addCurPageAsCmd.accesskey;" key="addBookmarkAsKb" observes="Browser:AddBookmarkAs"/>
|
2006-09-14 10:04:18 +04:00
|
|
|
<menuitem id="PT_bookmarks_groupmark" observes="Browser:AddGroupmarkAs"/>
|
2006-09-14 10:04:12 +04:00
|
|
|
<menuseparator/>
|
|
|
|
<menuitem accesskey="&manBookmarksCmd.accesskey;" key="manBookmarkKb" observes="Browser:ManageBookmark"/>
|
2006-09-14 10:00:31 +04:00
|
|
|
<menuseparator id="lastStaticSeparator"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
</menupopup>
|
2006-09-14 09:59:37 +04:00
|
|
|
</toolbarbutton>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
|
|
|
<!-- Personal toolbar items -->
|
2006-09-14 10:07:21 +04:00
|
|
|
<hbox id="bookmarks-ptf" flex="1" style="min-width: 1px;"
|
|
|
|
context="bookmarks-context-menu" template="bookmarksMenuTemplate"
|
|
|
|
datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch"
|
|
|
|
ref="NC:PersonalToolbarFolder" flags="dont-test-empty"
|
|
|
|
oncommand="BookmarksMenu.loadBookmark(event.target, this.database)"
|
|
|
|
rdf:type="http://home.netscape.com/NC-rdf#Folder">
|
2006-09-14 09:59:34 +04:00
|
|
|
</hbox>
|
2006-09-14 10:07:24 +04:00
|
|
|
<hbox class="bookmarks-toolbar-overflow-items" mousethrough="always">
|
|
|
|
<hbox mousethrough="always" id="overflow-padder" flex="1"/>
|
|
|
|
<toolbarbutton id="bookmarks-chevron" type="menu" class="chevron"
|
|
|
|
mousethrough="never" collapsed="true"
|
|
|
|
datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch"
|
|
|
|
template="bookmarksMenuTemplate"
|
|
|
|
ref="NC:PersonalToolbarFolder" flags="dont-test-empty"
|
|
|
|
oncommand="BookmarksUtils.loadBookmarkBrowser(event, event.target, this.database)">
|
|
|
|
<menupopup onpopupshowing="if (event.target == this) BookmarksToolbar.updateOverflowMenu(this);"/>
|
|
|
|
</toolbarbutton>
|
|
|
|
</hbox>
|
2006-09-14 09:59:34 +04:00
|
|
|
</toolbar>
|
|
|
|
|
|
|
|
</toolbox>
|
|
|
|
|
|
|
|
<hbox flex="1">
|
|
|
|
<vbox id="sidebar-box" class="chromeclass-extrachrome"/>
|
|
|
|
<splitter id="sidebar-splitter" class="chromeclass-extrachrome" />
|
|
|
|
|
2006-09-14 10:03:11 +04:00
|
|
|
<!-- we only need to handle |ondragdrop| because everything else is
|
|
|
|
taken care of by the builtin behavior inside the tabbrowser -->
|
2006-09-14 09:59:34 +04:00
|
|
|
<vbox id="appcontent" flex="1"
|
|
|
|
ondragdrop="nsDragAndDrop.drop(event, contentAreaDNDObserver);">
|
|
|
|
|
|
|
|
<!-- this box is temporary, pending XBLified <browser> -->
|
|
|
|
<hbox id="browser" flex="1">
|
2006-09-14 09:59:38 +04:00
|
|
|
<tabbrowser id="content"
|
2006-09-14 10:04:21 +04:00
|
|
|
flex="1" contenttooltip="aHTMLTooltip"
|
|
|
|
contentcontextmenu="contentAreaContextMenu"
|
|
|
|
onnewtab="BrowserOpenTab();"
|
2006-09-14 10:07:15 +04:00
|
|
|
onbookmarkgroup="addGroupmarkAs();"
|
2006-09-14 10:04:21 +04:00
|
|
|
onclick="return contentAreaClick(event);"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
</hbox>
|
|
|
|
|
|
|
|
<statusbar id="status-bar" class="chromeclass-status"
|
|
|
|
ondragdrop="nsDragAndDrop.drop(event, contentAreaDNDObserver);">
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2006-09-14 10:02:17 +04:00
|
|
|
<statusbarpanel id="component-bar"/>
|
|
|
|
<statusbarpanel id="statusbar-display" label="&statusText.label;" flex="1"/>
|
2006-09-14 10:07:52 +04:00
|
|
|
<statusbarpanel class="statusbarpanel-progress" id="progress-panel" hidden="true">
|
2006-09-14 10:02:19 +04:00
|
|
|
<progressmeter class="progressmeter-statusbar" id="statusbar-icon" mode="normal" value="0"/>
|
|
|
|
</statusbarpanel>
|
2006-09-14 10:08:54 +04:00
|
|
|
<statusbarpanel id="popupIcon" class="statusbarpanel-iconic" hidden="true" oncommand="StatusbarViewPopupManager()" tooltiptext="&popupIcon.tooltiptext;"/>
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2006-09-14 10:02:17 +04:00
|
|
|
<statusbarpanel class="statusbarpanel-iconic" id="offline-status"/>
|
2006-09-14 10:06:33 +04:00
|
|
|
<statusbarpanel class="statusbarpanel-iconic" id="security-button"
|
|
|
|
onclick="BrowserPageInfo(null, 'securityTab')"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
</statusbar>
|
2006-09-14 10:07:50 +04:00
|
|
|
<popupset>
|
|
|
|
<popup id="networkProperties"/>
|
|
|
|
</popupset>
|
2006-09-14 09:59:34 +04:00
|
|
|
</window>
|