rename to be happy with the chrome registry r=hyatt

This commit is contained in:
pavlov%netscape.com 1999-10-24 07:07:04 +00:00
Родитель 32af1500f1
Коммит aeae350d2e
5 изменённых файлов: 235 добавлений и 4 удалений

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

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

@ -22,7 +22,7 @@
# content directory
EditorAppShell.xul
editor.xul
TextEditorAppShell.xul
EditorCommands.js
EditorInitPage.html

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

@ -26,7 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXPORT_RESOURCE_CONTENT = \
$(srcdir)/EditorAppShell.xul \
$(srcdir)/editor.xul \
$(srcdir)/EditorCommands.js \
$(srcdir)/TextEditorAppShell.xul \
$(srcdir)/EditorInitPage.html \

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

@ -0,0 +1,231 @@
<?xml version="1.0"?>
<!--
- 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) 1999 Netscape Communications Corporation. All
- Rights Reserved.
-
- Contributor(s):
- Ben Goodger
- Michael Lowe
- Sammy Ford
-->
<?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://editor/skin/" type="text/css"?>
<?xul-overlay href="chrome://editor/content/editorOverlay.xul"?>
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<?xul-overlay href="chrome://global/content/tasksOverlay.xul"?>
<?xul-overlay href="chrome://sidebar/content/sidebarOverlay.xul"?>
<?xml-stylesheet href="chrome://sidebar/skin/sidebarOverlay.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://editor/locale/EditorAppShell.dtd">
<window id="main-window" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="EditorOnLoad()"
onunload="EditorShutdown()"
titlemodifier="&editorWindow.titlemodifier;"
titlemenuseparator="&editorWindow.titlemodifiermenuseparator;"
align="vertical"
width="640" height="480">
<html:script language="JavaScript" src="chrome://editor/content/EditorCommands.js"/>
<!-- Use this when we abandon the default startup page -->
<!-- broadcaster id="args" value="about:blank"/ -->
<broadcaster id="args" value="chrome://editor/content/EditorInitPage.html"/>
<broadcaster id="canPrint"/>
<!-- Interim hack to transition from nsIXULWindowCallbacks/ShowWindowWithArgs -->
<broadcaster id="dialog.start" ready="false"/>
<observes element="dialog.start" attribute="ready" onbroadcast="EditorStartup('html')"/>
<!-- broadcaster nodes are appended here from the overlays -->
<broadcasterset id="broadcasterset">
</broadcasterset>
<!-- keys are appended from the overlay -->
<keyset id="defaultKeySet"/>
<!-- sidebar/toolbar/content/status -->
<box id="sidebar-parent" align="horizontal" flex="100%">
<!-- toolbar/content/status -->
<box id="sidebar-box" chromeclass="extrachrome" style="display:none"/>
<splitter id="sidebar-splitter" chromeclass="extrachrome" style="display:none"/>
<box id="appcontent" align="vertical" flex="100%">
<toolbox id="EditorToolbars">
<menubar>
<menu id="fileMenu"/>
<menu id="editMenu"/>
<menu value="&viewMenu.label;" accesskey="&viewmenu.accesskey;">
<menupopup>
<menuitem id="compToolbarMenuitem"/>
<menuitem id="formatToolbarMenuitem"/>
<!-- menuseparator /> Put this back when it works.
<menuitem id="viewSourceMenuitem"/ -->
<menuseparator />
<menu id="charsetMenu"/>
</menupopup>
</menu>
<menu id="insertMenu"/>
<menu value="&formatMenu.label;" accesskey="&formatmenu.accesskey;">
<menupopup>
<menu id="fontFaceMenu"/>
<menu id="fontSizeMenu"/>
<menu id="fontStyleMenu"/>
<menu id="fontColorMenu"/>
<menu id="backgroundColorMenu"/>
<menuitem id="removeAllStylesMenuitem"/>
<menuitem id="removeLinksMenuitem"/>
<menuseparator />
<menu id="headingMenu"/>
<menu id="paragraphMenu"/>
<!-- This brings up dialog. Alternative is: <menu id="listMenu"> -->
<menuitem id="listProps"/>
<menuseparator />
<menu id="stylesheetMenu"/>
</menupopup>
</menu>
<menu value="&tableMenu.label;" accesskey="&tablemenu.accesskey;">
<menupopup>
<menu id="tableInsertMenu"/>
<menu id="tableDeleteMenu"/>
<menuseparator />
<menuitem id="tableJoinCellsMenuitem"/>
<menuitem id="tablePropertiesMenuitem"/>
</menupopup>
</menu>
<!-- tasks menu filled from tasksOverlay -->
<menu id="tasksMenu" accesskey="t"/>
<!-- DEBUG only -->
<menu id="debugMenu" />
<!-- end DEBUG only -->
<!-- help menu filled from globalOverlay -->
<menu id="menu_Help" accesskey="h"/>
<spring flex="100%"/>
</menubar>
<!-- toolbar filled out from editorOverlay -->
<toolbar id="EditToolbar">
<titledbutton id="newButton"/>
<titledbutton id="openButton"/>
<titledbutton id="saveButton"/>
<html:div class="separator" align="vertical" />
<titledbutton id="printButton"/>
<titledbutton id="findButton"/>
<titledbutton id="spellingButton"/>
<html:div class="separator" align="vertical" />
<titledbutton id="imageButton"/>
<titledbutton id="hlineButton"/>
<titledbutton id="tableButton"/>
<html:div class="separator" align="vertical" />
<titledbutton id="linkButton"/>
<titledbutton id="namedAnchorButton"/>
<html:div class="separator" align="vertical" />
<spring flex="100%"/>
</toolbar>
<toolbar id="FormatToolbar">
<!-- buttons are filled out from editorOverlay -->
<menu>
<titledbutton id="ParagraphPopupButton"/>
<menupopup id="ParagraphPopup"/>
</menu>
<menu>
<titledbutton id="FontFacePopupButton"/>
<menupopup id="FontFacePopup"/>
</menu>
<menu>
<titledbutton id="FontSizePopupButton"/>
<menupopup id="FontSizePopup"/>
</menu>
<menu>
<titledbutton id="TextColorPopupButton"/>
<menupopup id="TextColorPopup"/>
</menu>
<menu>
<titledbutton id="BackColorPopupButton"/>
<menupopup id="BackColorPopup"/>
</menu>
<html:div class="separator" align="vertical" />
<titledbutton id="boldButton"/>
<titledbutton id="italicButton"/>
<titledbutton id="underlineButton"/>
<html:div class="separator" align="vertical" />
<titledbutton id="ulButton"/>
<titledbutton id="olButton"/>
<titledbutton id="outdentButton"/>
<titledbutton id="indentButton"/>
<html:div class="separator" align="vertical" />
<menu>
<titledbutton id="AlignPopupButton"/>
<menupopup id="AlignmentPopup"/>
</menu>
<spring flex="100%"/>
</toolbar>
</toolbox>
<editor type="content-primary" id="content-frame" src="about:blank" flex="100%"/>
<box align="horizontal" id="DisplayModeBar" style="padding-top: 0px">
<spring class="spacer"/>
<!-- This is a pain: can't use CSS margin to add extra space above text? -->
<box align="vertical">
<spring style="height: 2px"/>
<html:div>&displayMode.label;</html:div>
</box>
<spring class="spacer"/>
<titledbutton id="EditModeButton" class="DisplayModeButton" selected="1" value="&editModeButton.label;" onclick="EditorSetDisplayStyle(0)"/>
<titledbutton id="BrowserModeButton" class="DisplayModeButton" selected="0" value="&browserModeButton.label;" onclick="EditorSetDisplayStyle(1)"/>
<html:div class="VerticalSeparator"/>
<!-- <html:div id="LeftGrayBorder"/> -->
<spring flex="100%"/>
</box>
<!-- status bar, from editorOverlay.xul -->
<box id="EditorStatusBar" />
</box>
</box>
</window>

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

@ -20,7 +20,7 @@ DEPTH=..\..\..\..
include <$(DEPTH)\config\rules.mak>
install::
$(MAKE_INSTALL) EditorAppShell.xul $(DIST)\bin\chrome\editor\content\default
$(MAKE_INSTALL) editor.xul $(DIST)\bin\chrome\editor\content\default
$(MAKE_INSTALL) TextEditorAppShell.xul $(DIST)\bin\chrome\editor\content\default
$(MAKE_INSTALL) EditorCommands.js $(DIST)\bin\chrome\editor\content\default
$(MAKE_INSTALL) EditorInitPage.html $(DIST)\bin\chrome\editor\content\default
@ -42,7 +42,7 @@ install::
$(MAKE_INSTALL) editorOverlay.js $(DIST)\bin\chrome\editor\content\default
clobber::
rm -f $(DIST)\bin\chrome\editor\content\default\EditorAppShell.xul
rm -f $(DIST)\bin\chrome\editor\content\default\editor.xul
rm -f $(DIST)\bin\chrome\editor\content\default\TextEditorAppShell.xul
rm -f $(DIST)\bin\chrome\editor\content\default\EditorCommands.js
rm -f $(DIST)\bin\chrome\editor\content\default\EditorInitPage.html