home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Chrome / comm.jar / content / navigator / navigatorOverlay.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  20KB  |  375 lines

  1. <?xml version="1.0"?> 
  2. <!-- The contents of this file are subject to the Netscape Public
  3.    - License Version 1.1 (the "License"); you may not use this file
  4.    - except in compliance with the License. You may obtain a copy of
  5.    - the License at http://www.mozilla.org/NPL/
  6.    - 
  7.    - Software distributed under the License is distributed on an "AS
  8.    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  9.    - implied. See the License for the specific language governing
  10.    - rights and limitations under the License.
  11.    - 
  12.    - The Original Code is Mozilla Communicator client code, released
  13.    - March 31, 1998.
  14.    - 
  15.    - The Initial Developer of the Original Code is Netscape
  16.    - Communications Corporation. Portions created by Netscape are
  17.    - Copyright (C) 1998-1999 Netscape Communications Corporation. All
  18.    - Rights Reserved.
  19.    - 
  20.    - Contributor(s):
  21.    -   Blake Ross   <blakeross@telocity.com>
  22.    -   Peter Annema <disttsc@bart.nl>
  23.    -   Jeremy M. Dolan <jmd@pobox.com>
  24.    -->
  25.  
  26. <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
  27. <?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  28. <?xul-overlay href="chrome://communicator/content/viewZoomOverlay.xul"?>
  29. <?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  30. <?xul-overlay href="chrome://global/content/charsetOverlay.xul"?>
  31. <?xul-overlay href="chrome://navigator/content/platformNavigationBindings.xul"?>
  32.  
  33. <!DOCTYPE overlay [
  34. <!ENTITY % navigatorDTD SYSTEM "chrome://navigator/locale/navigator.dtd" >
  35. %navigatorDTD;
  36. <!ENTITY % contentAreaCommandsDTD SYSTEM "chrome://communicator/locale/contentAreaCommands.dtd" >
  37. %contentAreaCommandsDTD;
  38. ]>
  39.  
  40. <overlay id="navigatorOverlay"
  41.          xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  42.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  43.  
  44.   <stringbundleset id="stringbundleset">
  45.     <stringbundle id="bundle_viewZoom"/>
  46.   </stringbundleset>
  47.  
  48.   <!-- Keysets -->
  49.   <keyset id="navKeys">
  50.     <!-- File Menu -->
  51.     <key id="key_newNavigator"/>
  52.     <key id="key_newNavigatorTab" key="&tabCmd.commandkey;" modifiers="accel" command="cmd_newNavigatorTab"/>
  53.     <key id="key_newBlankPage"/>
  54.     <key id="focusURLBar"      key="&openCmd.commandkey;" oncommand="ShowAndSelectContentsOfURLBar();"
  55.          modifiers="accel"/>
  56.     <key id="openLocationKb"   key="&openCmd.commandkey;" command="Browser:Open" modifiers="accel,shift"/>
  57.     <key id="openFileKb"         key="&openFileCmd.commandkey;" command="Browser:OpenFile"  modifiers="accel"/>
  58.     <key id="key_savePage"       key="&savePageCmd.commandkey;" command="Browser:SavePage" modifiers="accel"/>
  59.     <key id="key_editPage"       key="&editPageCmd.commandkey;" command="Browser:EditPage" modifiers="accel"/>
  60.     <key id="printKb"            key="&printCmd.commandkey;" command="Browser:Print"  modifiers="accel"/>
  61.     <key id="key_close"/>
  62.     <key id="key_closeWindow"/>
  63.     <key id="key_quit"/>
  64.  
  65.     <!-- Edit Menu -->
  66.     <key id="key_undo"/>
  67.     <key id="key_redo"/>
  68.     <key id="key_cut"/>
  69.     <key id="key_copy"/>
  70.     <key id="key_paste"/>
  71.     <key id="key_delete"/>
  72.     <key id="key_selectAll"/>
  73.   
  74.           <!-- View Menu -->
  75.     <key id="key_reload"  key="&reloadCmd.commandkey;" oncommand="BrowserReload();" modifiers="accel"/>
  76.     <key key="&reloadCmd.commandkey;" oncommand="BrowserReloadSkipCache();" modifiers="accel,shift"/>
  77.     <key id="key_viewSource" key="&pageSourceCmd.commandkey;" command="View:PageSource" modifiers="accel"/>
  78.     <key id="key_viewInfo"   key="&pageInfoCmd.commandkey;"   command="View:PageInfo"   modifiers="accel"/>
  79.     <key id="key_viewNextSidebarPanel" keycode="VK_PAGE_DOWN"  oncommand="SidebarGetRelativePanel(1);"  modifiers="alt" />
  80.     <key id="key_viewPrevSidebarPanel" keycode="VK_PAGE_UP"  oncommand="SidebarGetRelativePanel(-1);"  modifiers="alt" />
  81.  
  82.     <!-- Search Menu -->  
  83.     <key id="key_find"       key="&findOnCmd.commandkey;"         command="Browser:Find"      modifiers="accel"/>
  84.     <key id="key_findAgain"  key="&findAgainCmd.commandkey;"      command="Browser:FindAgain" modifiers="accel"/>
  85.     <key id="key_findPrev"   key="&findPrevCmd.commandkey;"       command="Browser:FindPrev"  modifiers="accel,shift"/>
  86.     <key keycode="&findAgainCmd.commandkey2;" command="Browser:FindAgain"/>
  87.     <key keycode="&findPrevCmd.commandkey2;"  command="Browser:FindPrev" modifiers="shift"/>
  88.  
  89.     <!-- Go Menu -->
  90.  
  91.     <!-- Bookmarks Menu -->
  92.     <key id="addBookmarkKb" key="&addCurPageCmd.commandkey;" command="Browser:AddBookmark" modifiers="accel"/>
  93.     <key id="addBookmarkAsKb" key="&addCurPageCmd.commandkey;" command="Browser:AddBookmarkAs" modifiers="accel,shift"/>
  94.     <key id="manBookmarkKb" key="&manBookmarksCmd.commandkey;" command="Browser:ManageBookmark" modifiers="accel"/>
  95.  
  96.     <!-- Tools Menu -->
  97.     <key id="searchInternetKb" key="&searchInternet.commandKey;" modifiers="accel,shift" command="Browser:SearchInternet"/>
  98.  
  99.     <!-- Misc -->
  100.     <key id="key_stop" keycode="VK_ESCAPE" oncommand="BrowserStop();"/>
  101.           <!-- the amazing fishcam dept. -->
  102.     <key key="f" modifiers="control,alt" oncommand="loadURI('http://home.netscape.com/fishcam/fishcam.html');"/>
  103.     <key id="key_gotoHistory"  key="&history.commandKey;"        oncommand="toHistory();" modifiers="accel"/>
  104.     <keyset id="viewZoomKeys"/>
  105.     <keyset id="navigationKeys"/>  
  106.     <keyset id="tasksKeys"/>
  107.   </keyset>
  108.  
  109.   <commandset id="commands">
  110.     <command id="cmd_newNavigator"/>
  111.     <command id="cmd_newNavigatorTab" oncommand="BrowserOpenTab();"/>
  112.     <command id="cmd_newTabWithTarget" oncommand="contentAreaClick(event);"/>
  113.  
  114.     <command id="cmd_newEditor"/>
  115.     <!-- NOT IMPLEMENTED
  116.     <command id="cmd_newEditorTemplate"/>
  117.     <command id="cmd_newEditorDraft"/> -->
  118.     <command id="Browser:OpenFile"  oncommand="BrowserOpenFileWindow();"/>
  119.     <command id="Browser:SavePage" oncommand="saveDocument(window._content.document);"/>
  120.     <command id="Browser:EditPage" oncommand="editPageOrFrame();" observes="isImage"/>
  121.     <command id="Browser:Open" oncommand="BrowserOpenWindow();"/>
  122.     <command id="Browser:PrintSetup" oncommand="NSPrintSetup();"/>
  123.     <command id="Browser:Print" oncommand="NSPrint();"/>
  124.     <command id="Browser:PrintPreview" oncommand="BrowserPrintPreview();"/>
  125.     <command id="cmd_quit"/>
  126.     <command id="cmd_close" oncommand="BrowserCloseTabOrWindow()"/>
  127.     <command id="cmd_closeOtherTabs" oncommand="BrowserCloseOtherTabs()"/>
  128.     <command id="cmd_closeWindow" oncommand="BrowserCloseWindow()"/>
  129.  
  130.     <!-- Edit Menu -->
  131.     <command id="cmd_undo"/>
  132.     <command id="cmd_redo"/>
  133.     <command id="cmd_cut"/>
  134.     <command id="cmd_copy"/>
  135.     <command id="cmd_paste"/>
  136.     <command id="cmd_delete"/>
  137.     <command id="cmd_selectAll" observes="isImage"/>
  138.  
  139.     <!-- Content area context menu -->
  140.     <command id="cmd_copyLink"/>
  141.     <command id="cmd_copyImageLocation"/>
  142.     <command id="cmd_copyImageContents"/>
  143.  
  144.     <!-- View Menu -->
  145.     <command id="View:PageSource" oncommand="BrowserViewSourceOfDocument(content.document);" observes="isImage"/>
  146.     <command id="View:PageInfo"   oncommand="BrowserPageInfo();"/>
  147.     <command id="View:FullScreen" oncommand="BrowserFullScreen();"/>
  148.   
  149.     <!-- Search Menu -->
  150.     <command id="Browser:Find" oncommand="BrowserFind();" observes="isImage"/>
  151.     <command id="Browser:FindAgain" oncommand="BrowserFindAgain(false);" observes="isImage"/>
  152.     <command id="Browser:FindPrev"  oncommand="BrowserFindAgain(true);"  observes="isImage"/>
  153.   
  154.     <!-- Bookmarks Menu -->
  155.     <command id="Browser:AddBookmark" label="&addCurPageCmd.label;" accesskey="&addCurPageCmd.accesskey;" 
  156.              oncommand="BookmarksUtils.addBookmarkForBrowser(document.getElementById('content').webNavigation, false);"/>
  157.     <command id="Browser:AddBookmarkAs" label="&addCurPageAsCmd.label;"
  158.              accesskey="&addCurPageAsCmd.accesskey;"
  159.              oncommand="addBookmarkAs();"/>
  160.     <command id="Browser:AddGroupmarkAs" label="&addCurTabsAsCmd.label;"
  161.              accesskey="&addCurTabsAsCmd.accesskey;"
  162.              oncommand="addGroupmarkAs(); event.preventBubble();"/>
  163.     <command id="Browser:ManageBookmark" label="&manBookmarksCmd.label;" accesskey="&manBookmarksCmd.accesskey;" 
  164.              oncommand="BrowserEditBookmarks();" />
  165.   
  166.     <!-- Go Menu -->  
  167.     <command id="Browser:Home"    oncommand="BrowserHome();"/>
  168.     <command id="Browser:Back"    oncommand="BrowserBack();"    observes="canGoBack"/>
  169.     <command id="Browser:Forward" oncommand="BrowserForward();" observes="canGoForward"/>
  170.     <commandset id="viewZoomCommands"/>
  171.     <commandset id="tasksCommands"/>
  172.  
  173.     <!-- Tools Menu -->
  174.     <command id="Browser:SearchInternet" oncommand="BrowserSearchInternet();"/>
  175.  
  176.   </commandset>
  177.  
  178.   <broadcasterset id="navBroadcasters">
  179.     <broadcaster id="canGoBack"    disabled="true"/>
  180.     <broadcaster id="canGoForward" disabled="true"/>
  181.     <broadcaster id="Communicator:WorkMode"/>
  182.     <broadcaster id="cmd_viewnavbar" oncommand="goToggleToolbar( 'nav-bar','cmd_viewnavbar');" checked="true"/>
  183.     <broadcaster id="cmd_viewpersonaltoolbar" oncommand="goToggleToolbar('PersonalToolbar','cmd_viewpersonaltoolbar');" checked="true"/>
  184.     <broadcaster id="cmd_viewtaskbar" oncommand="goToggleToolbar('status-bar','cmd_viewtaskbar');" checked="true"/>
  185.     <broadcaster id="cmd_viewcomponentbar" oncommand="goToggleToolbar('component-bar', 'cmd_viewcomponentbar');" checked="true"/>
  186.     <broadcaster id="isImage"/>
  187.   </broadcasterset>
  188.  
  189.   <!-- Menu -->
  190.   <menubar id="main-menubar" class="chromeclass-menubar">
  191.     <menu id="menu_File">
  192.       <menupopup id="menu_FilePopup" onpopupshowing="updateCloseItems();getContentAreaFrameCount();">
  193.         <menu id="menu_New">
  194.           <menupopup id="menu_NewPopup">
  195.             <!-- From utilityOverlay.xul -->
  196.             <menuitem id="menu_newNavigator" command="cmd_newNavigator"/>
  197.             <menuitem id="menu_newNavigatorTab" command="cmd_newNavigatorTab" key="key_newNavigatorTab"
  198.                       label="&tabCmd.label;" accesskey="&tabCmd.accesskey;"/>
  199.             <menuseparator id="navBeginGlobalNewItems"/>
  200.             <menuitem id="menu_newEditor"    command="cmd_newEditor"/>
  201.           </menupopup>
  202.         </menu>
  203.         <menuitem label="&openCmd.label;" accesskey="&openCmd.accesskey;" key="openLocationKb" command="Browser:Open"/>
  204.         <menuitem label="&openFileCmd.label;" accesskey="&openFileCmd.accesskey;" key="openFileKb" command="Browser:OpenFile"/>
  205.         <menuitem id="menu_close"/>
  206.         <menuitem id="menu_closeOtherTabs" command="cmd_closeOtherTabs" label="&closeOtherTabs.label;"/>
  207.         <menuitem id="menu_closeWindow" hidden="true" command="cmd_closeWindow" key="key_closeWindow" label="&closeWindow.label;"/>
  208.         <menuseparator/>
  209.         <menuitem label="&savePageCmd.label;" accesskey="&savePageCmd.accesskey;" key="key_savePage" command="Browser:SavePage"/>
  210.         <menuitem id="savepage" label="&saveFrameCmd.label;" accesskey="&saveFrameCmd.accesskey;" oncommand="saveFrameDocument();" hidden="true"/>
  211.         <menuseparator id="saveMenuBlockEnd"/>
  212.         <menuitem label="&editPageCmd.label;" accesskey="&editPageCmd.accesskey;" key="key_editPage" command="Browser:EditPage" />
  213.         <menuseparator/>
  214.         <menuitem id="printSetupMenuItem" label="&printSetupCmd.label;" accesskey="&printSetupCmd.accesskey;" command="Browser:PrintSetup"/>
  215.         <menuitem id="printPreviewMenuItem" label="&printPreviewCmd.label;" accesskey="&printPreviewCmd.accesskey;" command="Browser:PrintPreview"/>
  216.         <menuitem id="printMenuItem" label="&printCmd.label;" accesskey="&printCmd.accesskey;" key="printKb" command="Browser:Print"/>
  217.         <menuseparator/>
  218.         <menuitem id="offlineGoOfflineCmd"/>
  219.       </menupopup>
  220.     </menu>
  221.  
  222.     <menu id="menu_Edit">
  223.       <menupopup id="menu_Edit_Popup">
  224.         <menuitem id="menu_undo"/>
  225.         <menuitem id="menu_redo"/>
  226.         <menuseparator/>
  227.         <menuitem id="menu_cut"/>
  228.         <menuitem id="menu_copy"/>
  229.         <menuitem id="menu_paste"/>
  230.         <menuitem id="menu_delete"/>
  231.         <menuseparator/>
  232.         <menuitem id="menu_selectAll"/>
  233.         <menuseparator/>
  234.         <menuitem id="menu_find" label="&findOnCmd.label;" accesskey="&findOnCmd.accesskey;" key="key_find" command="Browser:Find"/>
  235.         <menuitem id="menu_findAgain" label="&findAgainCmd.label;" accesskey="&findAgainCmd.accesskey;" key="key_findAgain" command="Browser:FindAgain"/>
  236.         <menuitem id="menu_findPrev"  label="&findPrevCmd.label;"  accesskey="&findPrevCmd.accesskey;" key="key_findPrev" command="Browser:FindPrev"/>
  237.         <menuseparator id="menu_PrefsSeparator"/> 
  238.         <menuitem id="menu_preferences" oncommand="goPreferences('navigator', 'chrome://communicator/content/pref/pref-navigator.xul', 'navigator')"/>
  239.       </menupopup>
  240.     </menu>
  241.  
  242.     <menu id="menu_View" accesskey="&viewMenu.accesskey;" label="&viewMenu.label;">
  243.       <menupopup id="menu_View_Popup">
  244.         <menu label="&toolbarsCmd.label;" accesskey="&toolbarsCmd.accesskey;" id="menu_Toolbars">
  245.           <menupopup id="view_toolbars_popup" onpopupshowing="updateToolbarStates(this);"> 
  246.             <menuitem label="&navbarCmd.label;" accesskey="&navbarCmd.accesskey;" class="menuitem-iconic" type="checkbox" observes="cmd_viewnavbar"  />
  247.             <menuitem label="&personalbarCmd.label;" accesskey="&personalbarCmd.accesskey;" class="menuitem-iconic" type="checkbox" observes="cmd_viewpersonaltoolbar" />
  248.             <menuitem id="menuitem_showhide_tabbar" label="&tabbarCmd.label;" accesskey="&tabbarCmd.accesskey;" class="menuitem-iconic" type="checkbox" oncommand="showHideTabbar();" checked="true"/>
  249.             <menuitem label="&taskbarCmd.label;" accesskey="&taskbarCmd.accesskey;" class="menuitem-iconic" type="checkbox" observes="cmd_viewtaskbar" />
  250.             <menuitem label="&componentbarCmd.label;" accesskey="&componentbarCmd.accesskey;" class="menuitem-iconic" type="checkbox" observes="cmd_viewcomponentbar"/>
  251.           </menupopup>
  252.         </menu>   
  253.         <menuitem id="menuitem_fullScreen" accesskey="&fullScreenCmd.accesskey;"
  254.                   label="&fullScreenCmd.label;" key="key_fullScreen"
  255.                   command="View:FullScreen" hidden="true"/>
  256.         <menuseparator />
  257.         <menuitem label="&stopCmd.label;" accesskey="&stopCmd.accesskey;" id="menuitem-stop" disabled="true" oncommand="BrowserStop();" key="key_stop"/>
  258.         <menuitem accesskey="&reloadCmd.accesskey;" key="key_reload" label="&reloadCmd.label;" oncommand="BrowserReload();"/>
  259.         <menuseparator />
  260.   
  261.         <!-- overlayed from viewZoomOverlay.xul -->
  262.         <menu id="menu_textZoom" observes="isImage"/>
  263.  
  264.         <menu label="&useStyleSheetMenu.label;" accesskey="&useStyleSheetMenu.accesskey;" disabled="false" observes="isImage">
  265.           <menupopup onpopupshowing="stylesheetFillPopup(this);"
  266.                      oncommand="stylesheetSwitchAll(window._content, event.target.getAttribute('data'));">
  267.             <menuitem label="&useStyleSheetPersistentOnly.label;" accesskey="&useStyleSheetPersistentOnly.accesskey;" type="radio"/>
  268.           </menupopup>
  269.         </menu>
  270.         <menu id="charsetMenu" observes="isImage"/>
  271.         <menuseparator />
  272.         <menuitem accesskey="&pageSourceCmd.accesskey;" label="&pageSourceCmd.label;" key="key_viewSource" command="View:PageSource"/>
  273.         <menuitem accesskey="&pageInfoCmd.accesskey;"   label="&pageInfoCmd.label;"   key="key_viewInfo"   command="View:PageInfo"/>
  274.         <menuseparator />
  275.         <menu label="&applyTheme.label;" accesskey="&applyTheme.accesskey;">
  276.           <menupopup id="theme" datasources="rdf:chrome" ref="urn:mozilla:skin:root" oncommand="applyTheme(event.target)" onpopupshowing="checkTheme()">
  277.             <menuitem label="&getNewThemesCmd.label;" accesskey="&getNewThemesCmd.accesskey;" oncommand="getNewThemes();"/>
  278.             <menuseparator/>
  279.             <template>
  280.             <menuitem uri="..."
  281.                       label="rdf:http://www.mozilla.org/rdf/chrome#displayName"
  282.                       accesskey="rdf:http://www.mozilla.org/rdf/chrome#accessKey"
  283.                       id="rdf:http://www.mozilla.org/rdf/chrome#name"
  284.                       type="radio"
  285.                       name="themeGroup"/>
  286.             </template>
  287.           </menupopup>
  288.         </menu>
  289.       </menupopup>
  290.     </menu>
  291.  
  292.     <menu accesskey="&goMenu.accesskey;" label="&goMenu.label;" oncommand="gotoHistoryIndex(event);">
  293.       <menupopup onpopupshowing="updateGoMenu(event);">
  294.         <menuitem label="&goBackCmd.label;"    accesskey="&goBackCmd.accesskey;"    key="goBackKb"    command="Browser:Back"/>
  295.         <menuitem label="&goForwardCmd.label;" accesskey="&goForwardCmd.accesskey;" key="goForwardKb" command="Browser:Forward"/>
  296.         <menuitem label="&goHomeCmd.label;"    accesskey="&goHomeCmd.accesskey;"    command="Browser:Home" key="goHome"/>
  297.         <menuseparator/>
  298.         <menuitem label="&historyCmd.label;" accesskey="&historyCmd.accesskey;" oncommand="toHistory()" key="key_gotoHistory"/>
  299.         <menuseparator hidden="true"/>
  300.       </menupopup>
  301.     </menu>
  302.     
  303.     <menu id="BookmarksMenu" label="&bookmarksMenu.label;" accesskey="&bookmarksMenu.accesskey;" 
  304.           datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch" 
  305.           ref="NC:BookmarksRoot" flags="dont-test-empty" template="bookmarksMenuTemplate"
  306.           oncommand="OpenBookmarkURL(event.target, this.database)">
  307.       <template id="bookmarksMenuTemplate" xmlns:nc="http://home.netscape.com/NC-rdf#">
  308.         <rule nc:FolderGroup="true" iscontainer="true">
  309.           <menupopup>
  310.             <menuitem class="menuitem-iconic bookmark-group" 
  311.                       label="rdf:http://home.netscape.com/NC-rdf#Name"
  312.                       group="true"
  313.                       uri="rdf:*"
  314.                       xulcontentsgenerated="true"/>
  315.           </menupopup>
  316.         </rule>
  317.         <rule iscontainer="true" isempty="true"
  318.               rdf:type="http://home.netscape.com/NC-rdf#Folder">
  319.           <menupopup>
  320.             <menu class="menu-iconic bookmark-item" uri="rdf:*" 
  321.                   type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
  322.                   label="rdf:http://home.netscape.com/NC-rdf#Name">
  323.               <menupopup>
  324.                 <menuitem label="&emptyItem.label;" disabled="true"/>
  325.               </menupopup>
  326.             </menu>
  327.           </menupopup>
  328.         </rule>
  329.         <rule iscontainer="true">
  330.           <menupopup>
  331.             <menu class="menu-iconic bookmark-item" uri="rdf:*"
  332.                   label="rdf:http://home.netscape.com/NC-rdf#Name"
  333.                   type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
  334.               <menupopup />
  335.             </menu>
  336.           </menupopup>
  337.         </rule>
  338.         <rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
  339.           <menupopup> 
  340.             <menuseparator uri="rdf:*" />
  341.           </menupopup>
  342.         </rule>
  343.         <rule>
  344.           <menupopup>
  345.             <menuitem class="menuitem-iconic bookmark-item" uri="rdf:*"
  346.                       label="rdf:http://home.netscape.com/NC-rdf#Name" 
  347.                       status="rdf:http://home.netscape.com/WEB-rdf#status"/>
  348.           </menupopup>
  349.         </rule>
  350.       </template>
  351.       <menupopup onpopupshowing="updateGroupmarkMenuitem('bookmarks_groupmark');">
  352.         <!-- for some reason these don't work as command="" -->
  353.         <menuitem key="addBookmarkKb"   observes="Browser:AddBookmark"/>
  354.         <menuitem key="addBookmarkAsKb" observes="Browser:AddBookmarkAs"/>
  355.         <menuitem id="bookmarks_groupmark" observes="Browser:AddGroupmarkAs"/>
  356.         <menuitem key="manBookmarkKb"   observes="Browser:ManageBookmark"/>
  357.         <menuseparator/>
  358.       </menupopup>
  359.     </menu>
  360.       
  361.   <menu id="tasksMenu">
  362.     <menupopup id="taskPopup">
  363.       <menuitem id="menu_searchWeb" label="&searchInternetCmd.label;" key="searchInternetKb" accesskey="&searchInternetCmd.accesskey;" command="Browser:SearchInternet"/>
  364.       <menuseparator id="navBeginGlobalItems"/>
  365.     </menupopup>
  366.   </menu>
  367.  
  368.   <menu id="windowMenu"/>
  369.   
  370.   <menu accesskey="&helpMenuCmd.accesskey;" id="menu_Help"/>
  371.  
  372. </menubar>
  373.  
  374. </overlay>
  375.