[Zope-CVS] CVS: Packages/Moztop/moztop/content/menu - commandset.xul:1.3

Paul Everitt paul@zope.com
Wed, 26 Mar 2003 06:04:58 -0500


Update of /cvs-repository/Packages/Moztop/moztop/content/menu
In directory cvs.zope.org:/tmp/cvs-serv23170/Menu

Modified Files:
	commandset.xul 
Log Message:
Widgets are now constructing themselves based on stuff in 
genericviewerbinding.xml.  Turned New into a menu button with 
Folder, ZPT Page, and Site in it.  Beginning of PROPFIND support 
for sniffing the DAV source property when opening a resource.



=== Packages/Moztop/moztop/content/menu/commandset.xul 1.2 => 1.3 ===
--- Packages/Moztop/moztop/content/menu/commandset.xul:1.2	Sun Mar 23 16:31:01 2003
+++ Packages/Moztop/moztop/content/menu/commandset.xul	Wed Mar 26 06:04:28 2003
@@ -3,6 +3,9 @@
 <overlay id="CommandSetOverlay"
          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
+
+<script src="commandset.js"/>
+
   <commandset id="moztop-commands">
     <command id="menu-file-new-site:command" 
            oncommand="window.
@@ -19,9 +22,7 @@
 	.openDialog('chrome://moztop/content/workspace/newimage.xul',
         'newcontent','chrome',sitesmanager);"/>
     <command id="menu-file-new-zptpage:command"
-      oncommand="window
-	.openDialog('chrome://moztop/content/workspace/newzptpage.xul',
-        'newcontent','chrome',sitesmanager);"/>
+      oncommand="sitesmanager.createResource('urn:moztop:resourcetypes:zptpage');"/>
     <command id="menu-file-new-dtmlpage:command"
       oncommand="window
 	.openDialog('chrome://moztop/content/workspace/newdtmlpage.xul',
@@ -30,6 +31,8 @@
       oncommand="window
 	.openDialog('chrome://moztop/content/workspace/newsqlscript.xul',
         'newcontent','chrome',sitesmanager);"/>
+
+    <command id="menu-file-save:command" oncommand="saveSelectedTab();"/> 
 
     <command id="menu-file-close:command" oncommand="closeProgram();"/> 
     <command id="menu-help-zope3:command" oncommand="showZope3();"/>