2006-09-14 09:59:34 +04:00
|
|
|
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
|
|
|
|
|
|
|
|
<!-- 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.
|
|
|
|
|
|
|
|
Contributor(s): ______________________________________. -->
|
|
|
|
|
|
|
|
|
|
|
|
<?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 09:59:34 +04:00
|
|
|
<?xul-overlay href="chrome://communicator/content/sidebar/sidebarOverlay.xul"?>
|
|
|
|
<?xul-overlay href="chrome://communicator/content/securityOverlay.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()"
|
|
|
|
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"/>
|
|
|
|
|
|
|
|
<!-- Shared Bookmarks Utility Library -->
|
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/bookmarks/bookmarksOverlay.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://navigator/content/personalToolbar.js"/>
|
|
|
|
|
|
|
|
<!-- 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">
|
|
|
|
<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 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
|
|
|
<script type="application/x-javascript">
|
|
|
|
var gBookmarkPopup = null;
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<toolbox id="navigator-toolbox" class="toolbox-top" deferattached="true">
|
|
|
|
<!-- Menu -->
|
2006-09-14 10:01:40 +04:00
|
|
|
<menubar id="main-menubar" persist="collapsed" grippytooltiptext="&menuBar.tooltip;"/>
|
2006-09-14 09:59:34 +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">
|
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
|
|
|
<textbox id="urlbar" class="chromeclass-location" flex="1"
|
|
|
|
type="autocomplete" searchSessions="history"
|
|
|
|
timeout="50" maxrows="6" alwaysopenpopup="true"
|
|
|
|
disablehistory="false"
|
|
|
|
defaultSearchEngine="true" tabScrolling="true"
|
|
|
|
showCommentColumn="true"
|
2006-09-14 10:03:12 +04:00
|
|
|
inputtooltiptext="&locationBar.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
|
|
|
oninput="window.XULBrowserWindow.userTyped.value=true;"
|
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);"
|
|
|
|
onblur="URLBarBlurHandler(event);">
|
|
|
|
<deck id="page-proxy-deck">
|
|
|
|
<image id="page-proxy-button"
|
2006-09-14 10:03:42 +04:00
|
|
|
onclick="BookmarksUtils.addBookmarkForBrowser(getBrowser().webNavigation, true);"
|
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"
|
2006-09-14 10:03:42 +04:00
|
|
|
onclick="BookmarksUtils.addBookmarkForBrowser(getBrowser().webNavigation, true);"
|
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
|
|
|
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"
|
|
|
|
oncommand="addToUrlbarHistory(); BrowserLoadURL();"
|
|
|
|
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 09:59:34 +04:00
|
|
|
oncommand="OpenSearch('internet',false, document.getElementById('urlbar').value);"
|
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 09:59:37 +04:00
|
|
|
oncommand="if (event.target==this) BrowserPrint();"
|
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 09:59:37 +04:00
|
|
|
default="true" oncommand="BrowserPrint()"/>
|
2006-09-14 10:01:53 +04:00
|
|
|
<menuitem 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>
|
|
|
|
|
|
|
|
<toolbar id="PersonalToolbar" class="chromeclass-directories" persist="collapsed" dragdroparea="innermostBox"
|
|
|
|
ondragover="nsDragAndDrop.dragOver(event, personalToolbarObserver);"
|
|
|
|
ondragdrop="nsDragAndDrop.drop(event, personalToolbarObserver);"
|
|
|
|
ondraggesture="nsDragAndDrop.startDrag(event, personalToolbarObserver);"
|
|
|
|
ondragexit="nsDragAndDrop.dragExit(event, personalToolbarObserver);"
|
2006-09-14 10:01:40 +04:00
|
|
|
grippytooltiptext="&personalToolbar.tooltip;"
|
|
|
|
tbalign="stretch">
|
2006-09-14 09:59:34 +04:00
|
|
|
|
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 09:59:37 +04:00
|
|
|
ondraggesture="nsDragAndDrop.startDrag(event, homeButtonObserver);"
|
|
|
|
ondragover="nsDragAndDrop.dragOver(event, homeButtonObserver);"
|
|
|
|
ondragdrop="nsDragAndDrop.drop(event, homeButtonObserver);"
|
|
|
|
ondragexit="nsDragAndDrop.dragExit(event, homeButtonObserver);"
|
|
|
|
oncommand="BrowserHome(); 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"
|
|
|
|
oncommand="OpenBookmarkURL(event.target,document.getElementById('BookmarksMenu').database)"
|
2006-09-14 10:03:40 +04:00
|
|
|
ondragover="nsDragAndDrop.dragOver(event, folderObserver);"
|
2006-09-14 09:59:37 +04:00
|
|
|
template="bookmarksMenuTemplate">
|
|
|
|
<menupopup onpopuphiding="gDidOpen = false;"
|
2006-09-14 10:00:31 +04:00
|
|
|
onpopupshowing="checkBookmarksMenuTemplateBuilder();"
|
2006-09-14 09:59:37 +04:00
|
|
|
ondragdrop="nsDragAndDrop.drop(event, menuDNDObserver); event.preventBubble();"
|
2006-09-14 09:59:34 +04:00
|
|
|
ondragexit="nsDragAndDrop.dragExit(event, menuDNDObserver); event.preventBubble();"
|
|
|
|
ondragover="nsDragAndDrop.dragOver(event, menuDNDObserver); event.preventBubble();">
|
|
|
|
<menuitem accesskey="&addCurPageCmd.accesskey;" key="addBookmarkKb" observes="Browser:AddBookmark"
|
|
|
|
ondragover="event.preventBubble(); return false;"/>
|
|
|
|
<menuitem accesskey="&addCurPageAsCmd.accesskey;" key="addBookmarkAsKb" observes="Browser:AddBookmarkAs"
|
|
|
|
ondragover="event.preventBubble(); return false;"/>
|
|
|
|
<menuseparator ondragover="event.preventBubble(); return false;"/>
|
|
|
|
<menuitem accesskey="&manBookmarksCmd.accesskey;" key="manBookmarkKb" observes="Browser:ManageBookmark"
|
|
|
|
ondragover="event.preventBubble(); return false;"/>
|
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 -->
|
|
|
|
<hbox id="innermostBox" flex="1" style="min-width: 1px;" context="bmContext"
|
|
|
|
datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch"
|
|
|
|
ref="NC:PersonalToolbarFolder" flags="dont-test-empty"
|
2006-09-14 10:01:23 +04:00
|
|
|
rdf:type="http://home.netscape.com/NC-rdf#Folder"
|
2006-09-14 09:59:34 +04:00
|
|
|
oncommand="OpenBookmarkURL(event.target, document.getElementById('innermostBox').database)">
|
2006-09-14 10:02:33 +04:00
|
|
|
<tooltip id="ptTooltip" noautohide="true" onpopupshowing="return FillInPTTooltip(document.tooltipNode)">
|
|
|
|
<vbox id="ptTooltipTextBox" flex="1">
|
|
|
|
<label id="ptTitleText" />
|
|
|
|
<label id="ptUrlText" />
|
|
|
|
</vbox>
|
|
|
|
</tooltip>
|
2006-09-14 10:03:34 +04:00
|
|
|
<template xmlns:nc="http://home.netscape.com/NC-rdf#">
|
2006-09-14 09:59:34 +04:00
|
|
|
<rule parent="hbox" rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
|
|
|
|
<toolbarseparator uri="rdf:*"
|
2006-09-14 10:01:23 +04:00
|
|
|
rdf:type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
</rule>
|
|
|
|
|
|
|
|
<!-- yes, the type attribute is necessary otherwise all leaves are
|
|
|
|
treated as containers for some reason -->
|
2006-09-14 10:03:34 +04:00
|
|
|
<rule parent="hbox" iscontainer="true"
|
|
|
|
nc:FolderGroup="true">
|
|
|
|
<toolbarbutton class="bookmark-item bookmark-group" uri="rdf:*" xulcontentsgenerated="true"
|
|
|
|
group="true"
|
|
|
|
container="false"
|
|
|
|
rdf:type="http://home.netscape.com/NC-rdf#Folder"
|
|
|
|
label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
</rule>
|
2006-09-14 09:59:34 +04:00
|
|
|
<rule parent="hbox" iscontainer="true" isempty="true"
|
|
|
|
rdf:type="http://home.netscape.com/NC-rdf#Folder">
|
2006-09-14 09:59:37 +04:00
|
|
|
<toolbarbutton type="menu" editable="true" class="bookmark-item"
|
2006-09-14 10:01:23 +04:00
|
|
|
rdf:type="http://home.netscape.com/NC-rdf#Folder"
|
2006-09-14 09:59:37 +04:00
|
|
|
uri="rdf:*" label="rdf:http://home.netscape.com/NC-rdf#Name"
|
2006-09-14 10:03:40 +04:00
|
|
|
ondraggesture="if (!event.altKey) { event.preventBubble(); return false; }"
|
|
|
|
ondragover="nsDragAndDrop.dragOver(event, folderObserver);">
|
|
|
|
<menupopup
|
|
|
|
ondragdrop="nsDragAndDrop.drop(event, menuDNDObserver); event.preventBubble();"
|
|
|
|
ondragexit="nsDragAndDrop.dragExit(event, menuDNDObserver); event.preventBubble();"
|
|
|
|
ondragover="nsDragAndDrop.dragOver(event, menuDNDObserver); event.preventBubble();">
|
2006-09-14 09:59:34 +04:00
|
|
|
<menuitem label="&emptyItem.label;" disabled="true"/>
|
|
|
|
</menupopup>
|
2006-09-14 09:59:37 +04:00
|
|
|
</toolbarbutton>
|
2006-09-14 09:59:34 +04:00
|
|
|
</rule>
|
|
|
|
|
|
|
|
<rule parent="hbox" iscontainer="true">
|
2006-09-14 09:59:37 +04:00
|
|
|
<toolbarbutton type="menu" class="bookmark-item" uri="rdf:*" editable="true"
|
2006-09-14 10:01:23 +04:00
|
|
|
rdf:type="http://home.netscape.com/NC-rdf#Folder"
|
2006-09-14 09:59:37 +04:00
|
|
|
label="rdf:http://home.netscape.com/NC-rdf#Name"
|
2006-09-14 10:03:40 +04:00
|
|
|
ondraggesture="if (!event.altKey) { event.preventBubble(); return false; }"
|
|
|
|
ondragover="nsDragAndDrop.dragOver(event, folderObserver);">
|
|
|
|
<menupopup ondragdrop="nsDragAndDrop.drop(event, menuDNDObserver); event.preventBubble();"
|
|
|
|
ondragexit="nsDragAndDrop.dragExit(event, menuDNDObserver); event.preventBubble();"
|
|
|
|
ondragover="nsDragAndDrop.dragOver(event, menuDNDObserver); event.preventBubble();"/>
|
2006-09-14 09:59:37 +04:00
|
|
|
</toolbarbutton>
|
2006-09-14 09:59:34 +04:00
|
|
|
</rule>
|
|
|
|
|
|
|
|
<rule parent="hbox">
|
2006-09-14 09:59:37 +04:00
|
|
|
<toolbarbutton class="bookmark-item" uri="rdf:*" editable="true"
|
|
|
|
status="rdf:http://home.netscape.com/WEB-rdf#status"
|
2006-09-14 10:01:23 +04:00
|
|
|
rdf:type="http://home.netscape.com/NC-rdf#Bookmark"
|
2006-09-14 10:02:33 +04:00
|
|
|
statustext="rdf:http://home.netscape.com/NC-rdf#URL"
|
|
|
|
tooltip="ptTooltip"
|
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
|
|
|
label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
</rule>
|
|
|
|
|
2006-09-14 10:04:02 +04:00
|
|
|
<rule nc:FolderGroup="true" iscontainer="true">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem class="menuitem-iconic bookmark-group"
|
|
|
|
label="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
|
|
group="true"
|
|
|
|
uri="rdf:*"
|
|
|
|
xulcontentsgenerated="true"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
|
2006-09-14 09:59:34 +04:00
|
|
|
<rule iscontainer="true" isempty="true"
|
|
|
|
rdf:type="http://home.netscape.com/NC-rdf#Folder">
|
2006-09-14 10:03:40 +04:00
|
|
|
<menupopup
|
|
|
|
ondragdrop="nsDragAndDrop.drop(event, menuDNDObserver); event.preventBubble();"
|
|
|
|
ondragexit="nsDragAndDrop.dragExit(event, menuDNDObserver); event.preventBubble();"
|
|
|
|
ondragover="nsDragAndDrop.dragOver(event, menuDNDObserver); event.preventBubble();">
|
2006-09-14 09:59:34 +04:00
|
|
|
<menu class="menu-iconic bookmark-item" uri="rdf:*"
|
2006-09-14 10:03:40 +04:00
|
|
|
type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
|
2006-09-14 10:02:20 +04:00
|
|
|
label="rdf:http://home.netscape.com/NC-rdf#Name">
|
2006-09-14 09:59:34 +04:00
|
|
|
<menupopup>
|
|
|
|
<menuitem label="&emptyItem.label;" disabled="true"
|
2006-09-14 10:02:20 +04:00
|
|
|
ondraggesture="event.preventBubble(); return false;"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
|
|
|
|
<rule iscontainer="true">
|
2006-09-14 10:03:40 +04:00
|
|
|
<menupopup ondragdrop="nsDragAndDrop.drop(event, menuDNDObserver); event.preventBubble();"
|
|
|
|
ondragexit="nsDragAndDrop.dragExit(event, menuDNDObserver); event.preventBubble();"
|
|
|
|
ondragover="nsDragAndDrop.dragOver(event, menuDNDObserver); event.preventBubble();">
|
2006-09-14 10:01:55 +04:00
|
|
|
<menu class="menu-iconic bookmark-item" uri="rdf:*"
|
2006-09-14 10:03:40 +04:00
|
|
|
type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
|
2006-09-14 09:59:34 +04:00
|
|
|
label="rdf:http://home.netscape.com/NC-rdf#Name">
|
|
|
|
<menupopup/>
|
|
|
|
</menu>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
|
|
|
|
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
|
|
|
|
<menupopup>
|
|
|
|
<menuseparator uri="rdf:*"
|
|
|
|
type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
<rule>
|
2006-09-14 10:03:40 +04:00
|
|
|
<menupopup ondragdrop="nsDragAndDrop.drop(event, menuDNDObserver); event.preventBubble();"
|
|
|
|
ondragexit="nsDragAndDrop.dragExit(event, menuDNDObserver); event.preventBubble();"
|
|
|
|
ondragover="nsDragAndDrop.dragOver(event, menuDNDObserver); event.preventBubble();">
|
2006-09-14 09:59:34 +04:00
|
|
|
<menuitem class="menuitem-iconic bookmark-item" uri="rdf:*"
|
|
|
|
label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
</hbox>
|
|
|
|
</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"
|
|
|
|
flex="1" contenttooltip="aHTMLTooltip"
|
|
|
|
contentcontextmenu="contentAreaContextMenu"
|
2006-09-14 10:03:11 +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:02:19 +04:00
|
|
|
<statusbarpanel class="statusbarpanel-progress">
|
|
|
|
<progressmeter class="progressmeter-statusbar" id="statusbar-icon" mode="normal" value="0"/>
|
|
|
|
</statusbarpanel>
|
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"/>
|
|
|
|
<statusbarpanel class="statusbarpanel-iconic" id="security-button"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
</statusbar>
|
|
|
|
|
|
|
|
</window>
|