add item to new Firefox button menu, make Firefox and SeaMonkey open Mandelbrot in...
[mandelbrot.git] / extension / smOverlay.xul
index 573f671af7ea98de73b5ae268fab8560338a6025..e03c8e25555c952c33df6f3182027b5b7b83270b 100644 (file)
 
   <commandset id="tasksCommands">
     <command id="Tasks:Mandelbrot"
-             oncommand="window.openDialog('chrome://mandelbrot/content/mandelbrot.xul', '_blank', 'all,dialog=no');"/>
+             oncommand="getBrowser().addTab('about:mandelbrot');"/>
   </commandset>
 
-  <menupopup id="windowPopup">
+  <menupopup id="taskPopup">
     <menuitem id="tasksMenuMandelbrot" class="menuitem-iconic"
               label="&mandelbrotCmd.label;" accesskey="&mandelbrotCmd.accesskey;"
               command="Tasks:Mandelbrot"
-              insertbefore="sep-window-list"/>
+              insertafter="addonsmgr"/>
   </menupopup>
 
 </overlay>