2006-09-14 05:59:34 +00: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 06:00:30 +00:00
|
|
|
<?xul-overlay href="chrome://navigator/content/linkToolbarOverlay.xul"?>
|
2006-09-14 05:59:34 +00: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 06:00:47 +00:00
|
|
|
<window id="main-window"
|
2006-09-14 05:59:34 +00: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 06:00:47 +00:00
|
|
|
windowtype="navigator:browser"
|
2006-09-14 06:02:18 +00:00
|
|
|
width="610" height="450"
|
2006-09-14 06:02:23 +00:00
|
|
|
screenX="4" screenY="4"
|
|
|
|
persist="screenX screenY width height sizemode">
|
2006-09-14 05:59:34 +00: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"/>
|
|
|
|
|
|
|
|
<!-- 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 06:01:41 +00:00
|
|
|
<script type="application/x-javascript" src="chrome://navigator/content/browser.js"/>
|
2006-09-14 05:59:34 +00:00
|
|
|
<script type="application/x-javascript" src="chrome://navigator/content/navigator.js"/>
|
2006-09-14 06:01:54 +00:00
|
|
|
<script type="application/x-javascript" src="chrome://navigator/content/navigatorDD.js"/>
|
2006-09-14 05:59:34 +00: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>
|
|
|
|
|
|
|
|
<popupset id="aHTMLTooltipSet">
|
2006-09-14 06:01:40 +00:00
|
|
|
<tooltip id="aHTMLTooltip" onpopupshowing="return FillInHTMLTooltip(document.tooltipNode);"/>
|
2006-09-14 05:59:34 +00: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);"/>
|
|
|
|
<popup id="sidebarPopup"/>
|
|
|
|
|
|
|
|
<popupset id="bookmarksPopupset"/>
|
|
|
|
|
|
|
|
<!-- context menu -->
|
|
|
|
<popupset id="contentAreaContextSet"/>
|
|
|
|
</popupset>
|
|
|
|
<script type="application/x-javascript">
|
|
|
|
var gBookmarkPopup = null;
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<toolbox id="navigator-toolbox" class="toolbox-top" deferattached="true">
|
|
|
|
<!-- Menu -->
|
2006-09-14 06:01:40 +00:00
|
|
|
<menubar id="main-menubar" persist="collapsed" grippytooltiptext="&menuBar.tooltip;"/>
|
2006-09-14 05:59:34 +00:00
|
|
|
|
|
|
|
<toolbar class="toolbar-primary chromeclass-toolbar" id="nav-bar" persist="collapsed"
|
2006-09-14 06:01:40 +00:00
|
|
|
grippytooltiptext="&navigationToolbar.tooltip;"
|
|
|
|
tbalign="stretch">
|
2006-09-14 05:59:34 +00:00
|
|
|
<hbox id="nav-bar-buttons">
|
2006-09-14 05:59:37 +00:00
|
|
|
<toolbarbutton id="back-button" type="menu-button" class="toolbarbutton-1"
|
2006-09-14 06:01:17 +00:00
|
|
|
label="&backButton.label;"
|
2006-09-14 05:59:37 +00:00
|
|
|
oncommand="if (event.target==this) BrowserBack(); else gotoHistoryIndex(event);"
|
|
|
|
observes="canGoBack" context="backMenu"
|
2006-09-14 06:00:32 +00:00
|
|
|
tooltiptext="&backButton.tooltip;">
|
2006-09-14 05:59:34 +00:00
|
|
|
<menupopup context="" onpopupshowing="BrowserBackMenu(event);"/>
|
2006-09-14 05:59:37 +00:00
|
|
|
</toolbarbutton>
|
|
|
|
|
|
|
|
<toolbarbutton id="forward-button" type="menu-button" class="toolbarbutton-1"
|
2006-09-14 06:01:17 +00:00
|
|
|
label="&forwardButton.label;"
|
2006-09-14 05:59:37 +00:00
|
|
|
oncommand="if (event.target==this) BrowserForward(); else gotoHistoryIndex(event);"
|
|
|
|
observes="canGoForward" context="forwardMenu"
|
2006-09-14 06:00:32 +00:00
|
|
|
tooltiptext="&forwardButton.tooltip;">
|
2006-09-14 05:59:34 +00:00
|
|
|
<menupopup context="" onpopupshowing="BrowserForwardMenu(event);"/>
|
2006-09-14 05:59:37 +00:00
|
|
|
</toolbarbutton>
|
|
|
|
|
|
|
|
<toolbarbutton id="reload-button" class="toolbarbutton-1"
|
2006-09-14 06:01:17 +00:00
|
|
|
label="&reloadButton.label;"
|
2006-09-14 05:59:37 +00:00
|
|
|
oncommand="if (event.shiftKey) BrowserReloadSkipCache(); else BrowserReload();"
|
2006-09-14 06:00:32 +00:00
|
|
|
tooltiptext="&reloadButton.tooltip;"/>
|
2006-09-14 05:59:37 +00:00
|
|
|
|
|
|
|
<toolbarbutton id="stop-button" class="toolbarbutton-1"
|
2006-09-14 06:01:17 +00:00
|
|
|
label="&stopButton.label;"
|
2006-09-14 05:59:37 +00:00
|
|
|
oncommand="BrowserStop();" observes="canStop"
|
2006-09-14 06:00:32 +00:00
|
|
|
tooltiptext="&stopButton.tooltip;"/>
|
2006-09-14 05:59:34 +00:00
|
|
|
</hbox>
|
2006-09-14 06:01:17 +00:00
|
|
|
|
2006-09-14 05:59:34 +00: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 06:02:17 +00: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"
|
|
|
|
tooltiptext="&locationBar.tooltip;"
|
|
|
|
oninput="window.XULBrowserWindow.userTyped.value=true;"
|
2006-09-14 06:02:25 +00: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 06:02:17 +00:00
|
|
|
ontextrevert="return handleURLBarRevert();"
|
|
|
|
onfocus="URLBarFocusHandler(event);"
|
|
|
|
onblur="URLBarBlurHandler(event);">
|
|
|
|
<deck id="page-proxy-deck">
|
|
|
|
<image id="page-proxy-button"
|
|
|
|
ondraggesture="PageProxyDragGesture(event);"/>
|
|
|
|
<image id="page-proxy-favicon" validate="never"
|
|
|
|
ondraggesture="PageProxyDragGesture(event);"
|
|
|
|
onload="this.parentNode.selectedIndex = 1;
|
|
|
|
event.stopPropagation();
|
|
|
|
event.preventBubble();
|
|
|
|
HandleBookmarkIcon(this.src, true);"
|
|
|
|
onerror="gBrowser.addToMissedIconCache(this.src); HandleBookmarkIcon(this.src, false);"/>
|
|
|
|
</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 05:59:34 +00:00
|
|
|
|
2006-09-14 05:59:37 +00: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 06:00:32 +00:00
|
|
|
tooltiptext="&goButton.tooltip;"/>
|
2006-09-14 05:59:34 +00:00
|
|
|
|
2006-09-14 05:59:37 +00:00
|
|
|
<button id="search-button" class="button-toolbar chromeclass-location"
|
|
|
|
label="&searchButton.label;" persist="hidden"
|
2006-09-14 05:59:34 +00:00
|
|
|
oncommand="OpenSearch('internet',false, document.getElementById('urlbar').value);"
|
2006-09-14 05:59:37 +00:00
|
|
|
ondragover="nsDragAndDrop.dragOver(event, searchButtonObserver);"
|
|
|
|
ondragdrop="nsDragAndDrop.drop(event, searchButtonObserver);"
|
|
|
|
ondragexit="nsDragAndDrop.dragExit(event, searchButtonObserver);"
|
2006-09-14 06:00:32 +00:00
|
|
|
tooltiptext="&searchButton.tooltip;"/>
|
2006-09-14 05:59:34 +00:00
|
|
|
</hbox>
|
|
|
|
|
2006-09-14 05:59:37 +00:00
|
|
|
<toolbarbutton id="print-button" type="menu-button" class="toolbarbutton-1"
|
2006-09-14 06:01:17 +00:00
|
|
|
label="&printButton.label;" persist="hidden"
|
2006-09-14 05:59:37 +00:00
|
|
|
oncommand="if (event.target==this) BrowserPrint();"
|
2006-09-14 06:00:32 +00:00
|
|
|
tooltiptext="&printButton.tooltip;">
|
2006-09-14 05:59:37 +00:00
|
|
|
<menupopup id="printMenu">
|
2006-09-14 06:01:22 +00:00
|
|
|
<menuitem id="printMenuItemToolbar" label="&printCmd.label;" accesskey="&printCmd.accesskey;"
|
2006-09-14 05:59:37 +00:00
|
|
|
default="true" oncommand="BrowserPrint()"/>
|
2006-09-14 06:01:53 +00:00
|
|
|
<menuitem label="&printPreviewCmd.label;" accesskey="&printPreviewCmd.accesskey;"
|
|
|
|
oncommand="BrowserPrintPreview();"/>
|
2006-09-14 05:59:34 +00:00
|
|
|
</menupopup>
|
2006-09-14 05:59:37 +00:00
|
|
|
</toolbarbutton>
|
2006-09-14 05:59:34 +00:00
|
|
|
|
|
|
|
<hbox id="throbber-box" align="center">
|
2006-09-14 05:59:37 +00:00
|
|
|
<button id="navigator-throbber" oncommand="goClickThrobber('browser.throbber.url')"
|
2006-09-14 06:00:32 +00:00
|
|
|
tooltiptext="&throbber.tooltip;"/>
|
2006-09-14 05:59:34 +00:00
|
|
|
</hbox>
|
|
|
|
</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 06:01:40 +00:00
|
|
|
grippytooltiptext="&personalToolbar.tooltip;"
|
|
|
|
tbalign="stretch">
|
2006-09-14 05:59:34 +00:00
|
|
|
|
2006-09-14 05:59:37 +00:00
|
|
|
<toolbarbutton id="home-button" class="bookmark-item"
|
2006-09-14 06:00:32 +00:00
|
|
|
label="&homeButton.label;" persist="hidden"
|
2006-09-14 05:59:37 +00: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 05:59:34 +00:00
|
|
|
|
2006-09-14 05:59:35 +00:00
|
|
|
<toolbarseparator id="home-bm-separator" persist="hidden"/>
|
2006-09-14 05:59:34 +00:00
|
|
|
|
|
|
|
<!-- "Bookmarks" button on personal toolbar -->
|
2006-09-14 05:59:37 +00:00
|
|
|
<toolbarbutton type="menu" id="bookmarks-button" class="bookmark-item"
|
2006-09-14 06:01:17 +00:00
|
|
|
persist="hidden" label="&bookmarksButton.label;"
|
2006-09-14 05:59:37 +00: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)"
|
|
|
|
ondragover="nsDragAndDrop.dragOver(event, bookmarksButtonObserver);"
|
|
|
|
template="bookmarksMenuTemplate">
|
|
|
|
<menupopup onpopuphiding="gDidOpen = false;"
|
2006-09-14 06:00:31 +00:00
|
|
|
onpopupshowing="checkBookmarksMenuTemplateBuilder();"
|
2006-09-14 05:59:37 +00:00
|
|
|
ondragdrop="nsDragAndDrop.drop(event, menuDNDObserver); event.preventBubble();"
|
2006-09-14 05:59:34 +00: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 06:00:31 +00:00
|
|
|
<menuseparator id="lastStaticSeparator"/>
|
2006-09-14 05:59:34 +00:00
|
|
|
</menupopup>
|
2006-09-14 05:59:37 +00:00
|
|
|
</toolbarbutton>
|
2006-09-14 05:59:34 +00: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 06:01:23 +00:00
|
|
|
rdf:type="http://home.netscape.com/NC-rdf#Folder"
|
2006-09-14 05:59:34 +00:00
|
|
|
oncommand="OpenBookmarkURL(event.target, document.getElementById('innermostBox').database)">
|
2006-09-14 06:02:33 +00: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 05:59:34 +00:00
|
|
|
<template>
|
|
|
|
<rule parent="hbox" rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
|
|
|
|
<toolbarseparator uri="rdf:*"
|
2006-09-14 06:01:23 +00:00
|
|
|
rdf:type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type"/>
|
2006-09-14 05:59:34 +00:00
|
|
|
</rule>
|
|
|
|
|
|
|
|
<!-- yes, the type attribute is necessary otherwise all leaves are
|
|
|
|
treated as containers for some reason -->
|
|
|
|
<rule parent="hbox" iscontainer="true" isempty="true"
|
|
|
|
rdf:type="http://home.netscape.com/NC-rdf#Folder">
|
2006-09-14 05:59:37 +00:00
|
|
|
<toolbarbutton type="menu" editable="true" class="bookmark-item"
|
2006-09-14 06:01:55 +00:00
|
|
|
image="rdf:http://home.netscape.com/NC-rdf#Icon"
|
|
|
|
validate="never"
|
2006-09-14 06:01:23 +00:00
|
|
|
rdf:type="http://home.netscape.com/NC-rdf#Folder"
|
2006-09-14 05:59:37 +00:00
|
|
|
uri="rdf:*" label="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
|
|
ondraggesture="if (!event.altKey) { event.preventBubble(); return false; }">
|
2006-09-14 05:59:34 +00:00
|
|
|
<menupopup>
|
|
|
|
<menuitem label="&emptyItem.label;" disabled="true"/>
|
|
|
|
</menupopup>
|
2006-09-14 05:59:37 +00:00
|
|
|
</toolbarbutton>
|
2006-09-14 05:59:34 +00:00
|
|
|
</rule>
|
|
|
|
|
|
|
|
<rule parent="hbox" iscontainer="true">
|
2006-09-14 05:59:37 +00:00
|
|
|
<toolbarbutton type="menu" class="bookmark-item" uri="rdf:*" editable="true"
|
2006-09-14 06:01:23 +00:00
|
|
|
rdf:type="http://home.netscape.com/NC-rdf#Folder"
|
2006-09-14 05:59:37 +00:00
|
|
|
label="rdf:http://home.netscape.com/NC-rdf#Name"
|
2006-09-14 06:01:55 +00:00
|
|
|
image="rdf:http://home.netscape.com/NC-rdf#Icon"
|
|
|
|
validate="never"
|
2006-09-14 05:59:37 +00:00
|
|
|
ondraggesture="if (!event.altKey) { event.preventBubble(); return false; }">
|
2006-09-14 05:59:34 +00:00
|
|
|
<menupopup ondraggesture="nsDragAndDrop.startDrag(event, personalToolbarObserver);"/>
|
2006-09-14 05:59:37 +00:00
|
|
|
</toolbarbutton>
|
2006-09-14 05:59:34 +00:00
|
|
|
</rule>
|
|
|
|
|
|
|
|
<rule parent="hbox">
|
2006-09-14 05:59:37 +00:00
|
|
|
<toolbarbutton class="bookmark-item" uri="rdf:*" editable="true"
|
2006-09-14 06:01:34 +00:00
|
|
|
image="rdf:http://home.netscape.com/NC-rdf#Icon"
|
|
|
|
validate="never"
|
2006-09-14 05:59:37 +00:00
|
|
|
status="rdf:http://home.netscape.com/WEB-rdf#status"
|
2006-09-14 06:01:23 +00:00
|
|
|
rdf:type="http://home.netscape.com/NC-rdf#Bookmark"
|
2006-09-14 06:02:33 +00: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 06:02:17 +00:00
|
|
|
label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
2006-09-14 05:59:34 +00:00
|
|
|
</rule>
|
|
|
|
|
|
|
|
<rule iscontainer="true" isempty="true"
|
|
|
|
rdf:type="http://home.netscape.com/NC-rdf#Folder">
|
|
|
|
<menupopup>
|
|
|
|
<menu class="menu-iconic bookmark-item" uri="rdf:*"
|
2006-09-14 06:02:20 +00:00
|
|
|
image="rdf:http://home.netscape.com/NC-rdf#Icon"
|
|
|
|
validate="never"
|
|
|
|
label="rdf:http://home.netscape.com/NC-rdf#Name">
|
2006-09-14 05:59:34 +00:00
|
|
|
<menupopup>
|
|
|
|
<menuitem label="&emptyItem.label;" disabled="true"
|
2006-09-14 06:02:20 +00:00
|
|
|
src="rdf:http://home.netscape.com/NC-rdf#Icon"
|
|
|
|
validate="never"
|
|
|
|
ondraggesture="event.preventBubble(); return false;"/>
|
2006-09-14 05:59:34 +00:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
|
|
|
|
<rule iscontainer="true">
|
|
|
|
<menupopup>
|
2006-09-14 06:01:55 +00:00
|
|
|
<menu class="menu-iconic bookmark-item" uri="rdf:*"
|
|
|
|
image="rdf:http://home.netscape.com/NC-rdf#Icon"
|
|
|
|
validate="never"
|
2006-09-14 05:59:34 +00: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>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem class="menuitem-iconic bookmark-item" uri="rdf:*"
|
2006-09-14 06:01:34 +00:00
|
|
|
src="rdf:http://home.netscape.com/NC-rdf#Icon"
|
|
|
|
validate="never"
|
2006-09-14 05:59:34 +00:00
|
|
|
status="rdf:http://home.netscape.com/WEB-rdf#status"
|
|
|
|
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" />
|
|
|
|
|
|
|
|
<vbox id="appcontent" flex="1"
|
|
|
|
ondragover="nsDragAndDrop.dragOver(event, contentAreaDNDObserver);"
|
|
|
|
ondragdrop="nsDragAndDrop.drop(event, contentAreaDNDObserver);">
|
|
|
|
|
|
|
|
<!-- this box is temporary, pending XBLified <browser> -->
|
|
|
|
<hbox id="browser" flex="1">
|
2006-09-14 05:59:38 +00:00
|
|
|
<tabbrowser id="content"
|
|
|
|
flex="1" contenttooltip="aHTMLTooltip"
|
|
|
|
contentcontextmenu="contentAreaContextMenu"
|
2006-09-14 05:59:34 +00:00
|
|
|
onclick="return contentAreaClick(event);"
|
|
|
|
ondraggesture="nsDragAndDrop.startDrag(event, contentAreaDNDObserver);"/>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
</hbox>
|
|
|
|
|
|
|
|
<statusbar id="status-bar" class="chromeclass-status"
|
|
|
|
ondragover="nsDragAndDrop.dragOver(event, contentAreaDNDObserver);"
|
|
|
|
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 06:02:17 +00:00
|
|
|
<statusbarpanel id="component-bar"/>
|
|
|
|
<statusbarpanel id="statusbar-display" label="&statusText.label;" flex="1"/>
|
2006-09-14 06:02:19 +00: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 06:02:17 +00:00
|
|
|
<statusbarpanel class="statusbarpanel-iconic" id="offline-status"/>
|
|
|
|
<statusbarpanel class="statusbarpanel-iconic" id="security-button"/>
|
2006-09-14 05:59:34 +00:00
|
|
|
</statusbar>
|
|
|
|
|
|
|
|
</window>
|