#128663, "Exit" menuitem doesn't work.
authorhwaara%chello.se
Tue, 05 Mar 2002 17:45:21 -0500
changeset 162 fb6ffa582d2f04f1ba985b0f6b0b81e4916e0472
parent 161 33466ddda9ca7d9a1513d6f0134f5fbd7325b0fd
child 163 fd1e00c4f94da6daad340a16812b2c4786eb620a
push id1
push usersdwilsh@shawnwilsher.com
push dateTue, 08 Jul 2008 16:35:39 +0000
bugs128663
#128663, "Exit" menuitem doesn't work. r=bzbarsky, sr=hewitt, a=asa
resources/content/popupOverlay.xul
resources/content/toolboxOverlay.xul
--- a/resources/content/popupOverlay.xul
+++ b/resources/content/popupOverlay.xul
@@ -21,37 +21,34 @@
       <menuitem id="ppSearchResults-copyAll" label="&cmdCopySearchItemAll.label;" observes="cmdCopySearchItemAll"/>
       <menuitem id="ppSearchResults-save" label="&cmdSaveSearchItemText.label;" observes="cmdSaveSearchItemText"/>
       <menuseparator/>
       <menuitem id="ppSearchResults-clear" label="&cmdClearSearch.label;" observes="cmdClearSearch"/>
       <menuitem id="ppSearchResults-hide" label="&cmdHideSearchItems.label;" observes="cmdToggleSearch"/>
     </popup>
   </popupset>
 
-  <menupopup id="mppFile">
+  <menupopup id="menu_FilePopup">
+
     <menu 
       id="mnWindowsFile" label="&mnWindows.label;" accesskey="&mnWindows.accesskey;"
       datasources="rdf:window-mediator" ref="NC:WindowMediatorRoot">
       <template>
         <rule>
           <menupopup>
             <menuitem uri="rdf:*" label="&NC-rdf;Name" oncommand="inspector.goToWindow(this)"/>
           </menupopup>
         </rule>
       </template>
       <menupopup/>
     </menu>
     <menuitem label="&cmdShowOpenURLDialog.label;" accesskey="&cmdShowOpenURLDialog.accesskey;"
               observes="cmdShowOpenURLDialog"/>
     <menuseparator/>
-    <menuitem label="&cmdClose.label;" accesskey="&cmdClose.accesskey;" 
-              observes="cmdClose" key="key_close"/>
-    <menuseparator/>
-    <menuitem label="&cmdExit.label;" accesskey="&cmdExit.accesskey;" 
-              observes="cmd_quit" key="key_quit"/>
+    <menuitem id="menu_close"/>
   </menupopup>
 
   <menupopup id="mppEdit">
     <menuitem id="mnEditUndo"/>
     <menuitem id="mnEditRedo"/>
     <menuseparator/>
     <menuitem id="mnEditCut"/>
     <menuitem id="mnEditCopy"/>
--- a/resources/content/toolboxOverlay.xul
+++ b/resources/content/toolboxOverlay.xul
@@ -8,17 +8,17 @@
 <overlay id="ovToolbox"
          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
   <popupset id="ppsGlobalPopupset"/>
 
   <menubar id="mbrInspectorMain">
 
     <menu id="mnFile" label="&mnFile.label;" accesskey="&mnFile.accesskey;">
-      <menupopup id="mppFile"/>
+      <menupopup id="menu_FilePopup"/>
     </menu>
 
     <menu id="mnEdit" label="&mnEdit.label;" accesskey="&mnEdit.accesskey;">
       <menupopup id="mppEdit"/>
     </menu>
 
     <menu id="mnSearch" label="&mnSearch.label;" accesskey="&mnSearch.accesskey;">
       <menupopup id="mppSearch"/>