[Zope-CVS] CVS: Packages/MoZTop/moztop/content/zopetop/Menu - KeySetOverlay.xul:1.1 MenuOverlay.xul:1.1 ToolBarOverlay.xul:1.1
Stephan Richter
srichter@cbu.edu
Wed, 8 Jan 2003 14:01:51 -0500
Update of /cvs-repository/Packages/MoZTop/moztop/content/zopetop/Menu
In directory cvs.zope.org:/tmp/cvs-serv26830/moztop/content/zopetop/Menu
Added Files:
KeySetOverlay.xul MenuOverlay.xul ToolBarOverlay.xul
Log Message:
Moved things around to allow for a better build process.
First untested commit of the install.js file, which manages the install and
a Makefile, so building the XPI is simpler.
=== Added File Packages/MoZTop/moztop/content/zopetop/Menu/KeySetOverlay.xul ===
<?xml version="1.0"?>
<overlay id="KeySetOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<keyset id="menu-keyset">
<key id="new-key" key="N" modifiers="control" oncommand="alert('You have pressed: Ctrl-N')"/>
<key id="open-key" key="O" modifiers="control" oncommand="alert('You have pressed: Ctrl-O')"/>
<key id="close-key" key="C" modifiers="control" oncommand="alert('You have pressed: Ctrl-C')"/>
<key id="save-key" key="S" modifiers="control" oncommand="alert('You have pressed: Ctrl-S')"/>
<key id="quit-key" key="Q" modifiers="control" oncommand="alert('You have pressed: Ctrl-Q')"/>
</keyset>
</overlay>
=== Added File Packages/MoZTop/moztop/content/zopetop/Menu/MenuOverlay.xul ===
<?xml version="1.0"?>
<overlay id="MenuOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<menubar id="zopetop-menubar">
<menu id="file-menu" label="File">
<menupopup id="file-popup">
<menuitem label="New Connection" key="new-key"/>
<menuitem label="Open Connection" key="open-key"/>
<menuitem label="Close Connection" key="close-key"/>
<menuitem label="Save Connection" key="quit-key"/>
<menuseparator/>
<menuitem label="Quit" key="quit-key"/>
</menupopup>
</menu>
<menu id="edit-menu" label="Edit">
<menupopup id="edit-popup">
<menuitem label="Undo"/>
<menuitem label="Redo"/>
<menuseparator/>
<menuitem label="Copy"/>
<menuitem label="Cut"/>
<menuitem label="Paste"/>
<menuseparator/>
<menuitem label="Preferences"/>
</menupopup>
</menu>
<menu id="edit-menu" label="Views">
<menupopup id="edit-popup">
<menuitem id="contents-view" label="Contents" type="checkbox"/>
<menuitem id="perms-view" label="Permissions" type="checkbox"/>
<menuitem id="history-view" label="History" type="checkbox"/>
</menupopup>
</menu>
<menu id="edit-menu" label="Help">
<menupopup id="edit-popup">
<menuitem label="Index"/>
<menuitem label="Search"/>
<menuseparator/>
<menuitem label="About Zope 3"/>
<menuitem label="About ZopeTop"/>
</menupopup>
</menu>
</menubar>
</overlay>
=== Added File Packages/MoZTop/moztop/content/zopetop/Menu/ToolBarOverlay.xul ===
<?xml version="1.0"?>
<overlay id="ToolBarOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<toolbar id="zopetop-toolbar"
style="background: url('chrome://communicator/skin/toolbar/prtb-bg-line.gif')">
<button label="Connect"
image="chrome://communicator/skin/icons/online.gif"/>
<button label="Open"
image="chrome://communicator/skin/directory/file-folder-open.gif" />
<button onclick="addTask('add', 'Add Item', 'in progress');" label="Add Task" />
<button onclick="deleteLatestTask();" label="Delete Task" />
<button onclick="reloadContentData();" label="Reload content" />
<spring flex="100%" />
<image src="zopelogo.png" />
<spacer flex="1" />
</toolbar>
</overlay>