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

Stephan Richter srichter@cbu.edu
Thu, 9 Jan 2003 01:19:25 -0500


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

Modified Files:
	KeySetOverlay.xul MenuOverlay.xul ToolBarOverlay.xul 
Log Message:
Checkpoint: I got adding Tasks to a RDF source going again; deleting does
not work though.



=== Packages/MoZTop/moztop/content/zopetop/Menu/KeySetOverlay.xul 1.2 => 1.3 ===
--- Packages/MoZTop/moztop/content/zopetop/Menu/KeySetOverlay.xul:1.2	Wed Jan  8 19:45:18 2003
+++ Packages/MoZTop/moztop/content/zopetop/Menu/KeySetOverlay.xul	Thu Jan  9 01:18:53 2003
@@ -13,7 +13,7 @@
     <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();"/>
+         command="menu-file-close:command"/>
   </keyset>
 
 </overlay>


=== Packages/MoZTop/moztop/content/zopetop/Menu/MenuOverlay.xul 1.3 => 1.4 ===
--- Packages/MoZTop/moztop/content/zopetop/Menu/MenuOverlay.xul:1.3	Wed Jan  8 19:45:18 2003
+++ Packages/MoZTop/moztop/content/zopetop/Menu/MenuOverlay.xul	Thu Jan  9 01:18:53 2003
@@ -39,8 +39,10 @@
         <menuitem label="Index"/>
         <menuitem label="Search"/>
         <menuseparator/>
-        <menuitem label="About Zope 3"/>
-        <menuitem label="About Moztop"/>
+        <menuitem label="About Zope 3"
+                  command="menu-help-zope3:command" /> 
+        <menuitem label="About MoZTop"
+                  command="menu-help-about:command" /> 
       </menupopup>
     </menu>
   </menubar>


=== Packages/MoZTop/moztop/content/zopetop/Menu/ToolBarOverlay.xul 1.2 => 1.3 ===
--- Packages/MoZTop/moztop/content/zopetop/Menu/ToolBarOverlay.xul:1.2	Wed Jan  8 16:53:16 2003
+++ Packages/MoZTop/moztop/content/zopetop/Menu/ToolBarOverlay.xul	Thu Jan  9 01:18:53 2003
@@ -4,13 +4,15 @@
          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
   <toolbar id="moztop-toolbar"
-           style="background: url('chrome://communicator/skin/toolbar/prtb-bg-line.gif')">
+      style="background: 
+               url('chrome://communicator/skin/toolbar/prtb-bg-line.gif')">
     <button label="Connect"
-            image="chrome://communicator/skin/icons/online.gif"/>
+        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" />
+        image="chrome://communicator/skin/directory/file-folder-open.gif" />
+    <button onclick="return addTask('add', 'Add Item', 'in progress');" 
+            label="Add Task" />
+    <button onclick="deleteSelectedTask();" label="Delete Task" />
     <button onclick="reloadContentData();" label="Reload content" />
     <spring flex="100%" />
     <image src="zopelogo.png" />