[Zope-CVS] CVS: Packages/MoZTop/moztop/content/zopetop/Menu - KeySetOverlay.xul:1.2 MenuOverlay.xul:1.3

Stephan Richter srichter@cbu.edu
Wed, 8 Jan 2003 19:45:51 -0500


Update of /cvs-repository/Packages/MoZTop/moztop/content/zopetop/Menu
In directory cvs.zope.org:/tmp/cvs-serv17116/content/Menu

Modified Files:
	KeySetOverlay.xul MenuOverlay.xul 
Log Message:
Checkpoint checkin. I got a lot of things working again and even filled in
some new RDF data.


=== Packages/MoZTop/moztop/content/zopetop/Menu/KeySetOverlay.xul 1.1 => 1.2 ===
--- Packages/MoZTop/moztop/content/zopetop/Menu/KeySetOverlay.xul:1.1	Wed Jan  8 14:01:47 2003
+++ Packages/MoZTop/moztop/content/zopetop/Menu/KeySetOverlay.xul	Wed Jan  8 19:45:18 2003
@@ -4,11 +4,16 @@
          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')"/>
+    <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="return document.getElementById('moztop-main-window').closeProgram();"/>
   </keyset>
 
 </overlay>


=== Packages/MoZTop/moztop/content/zopetop/Menu/MenuOverlay.xul 1.2 => 1.3 ===
--- Packages/MoZTop/moztop/content/zopetop/Menu/MenuOverlay.xul:1.2	Wed Jan  8 16:53:16 2003
+++ Packages/MoZTop/moztop/content/zopetop/Menu/MenuOverlay.xul	Wed Jan  8 19:45:18 2003
@@ -11,7 +11,8 @@
         <menuitem label="Close Connection" key="close-key"/>
         <menuitem label="Save Connection" key="quit-key"/>
         <menuseparator/>
-        <menuitem label="Quit" key="quit-key"/>
+        <menuitem label="Quit" key="quit-key" 
+                  command="menu-file-close:command" /> 
       </menupopup>
     </menu>
     <menu id="edit-menu" label="Edit">