make bookmarks menu work up to a point where it saves the current location with a...
[mandelbrot.git] / xulapp / chrome / mandelbrot / content / mandelbrot.xul
index 183c6caf26083b3f39f58fbf45238cf23d107c9b..18b65b0be9408ec389f4591d588197d00d482a3f 100644 (file)
           <menuitem id="fileQuit" label="&fileQuit.label;" oncommand="quitApp(false);"/>
         </menupopup>
       </menu>
+      <menu id="bookmarkMenu" label="&bookmarkMenu.label;">
+        <menupopup id="menu_bookmarkPopup"
+                   onpopupshowing="updateBookmarkMenu(event.target);"
+                   oncommand="callBookmark(event.target);">
+          <menuitem id="bookmarkSave" label="&bookmarkSave.label;" oncommand="saveBookmark();"/>
+          <menuseparator id="bookmarkSeparator"/>
+        </menupopup>
+      </menu>
       <menu id="prefMenu" label="&prefMenu.label;">
         <menupopup id="menu_prefPopup">
           <menu id="iterMenu" label="&iterMenu.label;">