add item to new Firefox button menu, make Firefox and SeaMonkey open Mandelbrot in...
[mandelbrot.git] / extension / fxOverlay.xul
index 4293022..53c56ef 100644 (file)
@@ -45,7 +45,7 @@
 
   <commandset id="mainCommandSet">
     <command id="Tools:Mandelbrot"
-             oncommand="window.openDialog('chrome://mandelbrot/content/mandelbrot.xul', '_blank', 'all,dialog=no');"/>
+             oncommand="gBrowser.addTab('about:mandelbrot');"/>
   </commandset>
 
   <menupopup id="menu_ToolsPopup">
               command="Tools:Mandelbrot"
               insertafter="devToolsSeparator"/>
   </menupopup>
-
+  <vbox id="appmenuSecondaryPane">
+    <menuitem id="appmenu_openMandelbrot" class="menuitem-iconic"
+              label="&mandelbrotCmd.label;"
+              command="Tools:Mandelbrot"
+              insertafter="appmenu_addons"/>
+  </vbox>
 </overlay>