Back to index

lightning-sunbird  0.9+nobinonly
macWindowMenu.inc
Go to the documentation of this file.
00001     <script type="application/x-javascript" src="chrome://global/content/macWindowMenu.js"/>
00002     <commandset id="baseMenuCommandSet">
00003         <command id="minimizeWindow"
00004                  label="&minimizeWindow.label;"
00005                  oncommand="window.minimize();" />
00006         <command id="zoomWindow"
00007                  label="&zoomWindow.label;"
00008                  oncommand="zoomWindow();" />
00009     </commandset>
00010     <keyset id="baseMenuKeyset">
00011         <key id="key_minimizeWindow"
00012              command="minimizeWindow"
00013              key="&minimizeWindow.key;"
00014              modifiers="accel"/>
00015     </keyset>
00016     <menu id="windowMenu"
00017           label="&windowMenu.label;"
00018           datasources="rdf:window-mediator" ref="NC:WindowMediatorRoot"
00019           onpopupshowing="checkFocusedWindow();"
00020           hidden="false">
00021         <template>
00022         <rule>
00023             <menupopup>
00024                 <menuitem uri="rdf:*"
00025                           label="rdf:http://home.netscape.com/NC-rdf#Name"
00026                           type="radio"
00027                           name="windowList"
00028                           oncommand="ShowWindowFromResource(event.target)"/>
00029             </menupopup>
00030         </rule>
00031         </template>
00032         <menupopup id="windowPopup">
00033             <menuitem command="minimizeWindow" key="key_minimizeWindow"/>
00034             <menuitem command="zoomWindow"/>
00035             <!-- decomment when "BringAllToFront" is implemented
00036                 <menuseparator/>
00037                 <menuitem label="&bringAllToFront.label;" disabled="true"/> -->
00038             <menuseparator id="sep-window-list"/>
00039         </menupopup>
00040     </menu>