[Zope-CVS] CVS: Packages/Moztop/moztop/content/toolbar - toolbar.js:1.2 toolbaroverlay.xul:1.11

Paul Everitt paul@zope.com
Wed, 2 Apr 2003 16:40:01 -0500


Update of /cvs-repository/Packages/Moztop/moztop/content/toolbar
In directory cvs.zope.org:/tmp/cvs-serv15473/toolbar

Modified Files:
	toolbar.js toolbaroverlay.xul 
Log Message:
Post-DZUG.  Moved in button cleanup.


=== Packages/Moztop/moztop/content/toolbar/toolbar.js 1.1 => 1.2 ===
--- Packages/Moztop/moztop/content/toolbar/toolbar.js:1.1	Thu Mar 20 11:38:30 2003
+++ Packages/Moztop/moztop/content/toolbar/toolbar.js	Wed Apr  2 16:39:30 2003
@@ -133,5 +133,5 @@
     tabs.removeChild(tabs.selectedItem);
     tabpanels.removeChild(tabpanels.selectedPanel);
     tabs.firstChild.setAttribute("selected", "true");
-    tabelpanels.selectedPanel = tabelpanels.firstChild;
+    tabpanels.selectedPanel = tabpanels.firstChild;
 }


=== Packages/Moztop/moztop/content/toolbar/toolbaroverlay.xul 1.10 => 1.11 ===
--- Packages/Moztop/moztop/content/toolbar/toolbaroverlay.xul:1.10	Thu Mar 27 11:40:10 2003
+++ Packages/Moztop/moztop/content/toolbar/toolbaroverlay.xul	Wed Apr  2 16:39:30 2003
@@ -5,36 +5,9 @@
 
   <script src="chrome://moztop/content/toolbar/toolbar.js"/>
 
-<script>
-
-  function testPropFind (url) {
-      /* A temp function to help debug PROPFIND */
-
-      function callback (result) {
-        var src = result.getElementsByTagNameNS("DAV:", "src");
-	var srcval = src.tagName;
-        alert("srcval is " + srcval);
-      }
-
-      var url = "http://localhost:8080/zptpage";
-      var jsdav = new DavClient();
-      var pf = new PropFind();
-      var p = new Prop("DAV:");
-      p.addProperty("source");
-      pf.addProp(p);
-      // pf.allprop = true;
-      sitesds.callback = callback;
-      jsdav.PROPFIND(url, pf, 1, sitesds);
-}
-
-
-
-</script>
-
-
   <toolbar id="moztop-toolbar">
 
-    <button type="menu-button" class="moztop-toolbarbutton-1" label="New">
+    <button type="menu-button" class="moztop-toolbarbutton-1" label="New...">
       <menupopup id="moztop-menu-file-popup">
          <menuitem label="ZPT Page" command="menu-file-new-zptpage:command"/>
          <menuitem label="Folder" command="menu-file-new-folder:command"/>
@@ -44,13 +17,10 @@
     </button>
 
 
-    <button oncommand="sitesmanager.removeSelectedResource();" 
-	    label="Remove" tooltiptext="Remove selected item in navigation"/>
+    <button label="Delete" command="menu-edit-delete:command"
+	    tooltiptext="Remove selected item in navigation"/>
     <button oncommand="sitesmanager.reloadSelectedSite();" 
 	    label="Reload" tooltiptext="Reload selected site"/>
-    <button oncommand="testPropFind('http://localhost:8380/somezptpage');"
-	    label="Test PROPFIND"/>
-    <button oncommand="testDAV();" label="Test DAV"/>
     <button command="menu-file-save:command" label="Save"/>
     <spring flex="100%" />
     <image src="chrome://moztop/skin/moztop.png" />