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 / communicator / viewZoomOverlay.xul < prev   
Extensible Markup Language  |  2003-06-08  |  4KB  |  72 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4.    - The contents of this file are subject to the Mozilla Public
  5.    - License Version 1.1 (the "License"); you may not use this file
  6.    - except in compliance with the License. You may obtain a copy of
  7.    - the License at http://www.mozilla.org/MPL/
  8.    - 
  9.    - Software distributed under the License is distributed on an "AS
  10.    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  11.    - implied. See the License for the specific language governing
  12.    - rights and limitations under the License.
  13.    - 
  14.    - The Original Code is this file as it was released on
  15.    - January 6, 2001.
  16.    - 
  17.    - The Initial Developer of the Original Code is Peter Annema.
  18.    - Portions created by Peter Annema are Copyright (C) 2000
  19.    - Peter Annema.  All Rights Reserved.
  20.    - 
  21.    - Contributor(s):
  22.    -   Peter Annema <disttsc@bart.nl> (Original Author)
  23.    - 
  24.    - Alternatively, the contents of this file may be used under the
  25.    - terms of the GNU General Public License Version 2 or later (the
  26.    - "GPL"), in which case the provisions of the GPL are applicable 
  27.    - instead of those above.  If you wish to allow use of your 
  28.    - version of this file only under the terms of the GPL and not to
  29.    - allow others to use your version of this file under the MPL,
  30.    - indicate your decision by deleting the provisions above and
  31.    - replace them with the notice and other provisions required by
  32.    - the GPL.  If you do not delete the provisions above, a recipient
  33.    - may use your version of this file under either the MPL or the
  34.    - GPL.
  35.   -->
  36.  
  37. <!DOCTYPE overlay SYSTEM "chrome://communicator/locale/viewZoomOverlay.dtd">
  38.  
  39. <overlay id="viewZoomOverlay"
  40.          xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  41.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  42.  
  43.   <script type="application/x-javascript" src="chrome://communicator/content/viewZoomOverlay.js"/>
  44.  
  45.   <stringbundle id="bundle_viewZoom" src="chrome://communicator/locale/viewZoomOverlay.properties"/>
  46.  
  47.   <keyset id="viewZoomKeys">
  48.     <key id="key_textZoomReduce"  key="&textZoomReduceCmd.commandkey;"   command="cmd_textZoomReduce"  modifiers="accel"/>
  49.     <key id="key_textZoomEnlarge" key="&textZoomEnlargeCmd.commandkey;"  command="cmd_textZoomEnlarge" modifiers="accel"/>
  50.     <key                          key="&textZoomEnlargeCmd.commandkey;"  command="cmd_textZoomEnlarge" modifiers="accel,shift"/>
  51.     <key                          key="&textZoomEnlargeCmd.commandkey2;" command="cmd_textZoomEnlarge" modifiers="accel"/>
  52.     <key                          key="&textZoomResetCmd.commandkey;"    command="cmd_textZoomReset"   modifiers="accel"/>
  53.   </keyset>
  54.  
  55.   <commandset id="viewZoomCommands">
  56.     <command id="cmd_textZoomReduce"  oncommand="ZoomManager.prototype.getInstance().reduce();"/>
  57.     <command id="cmd_textZoomEnlarge" oncommand="ZoomManager.prototype.getInstance().enlarge();"/>
  58.     <command id="cmd_textZoomReset"   oncommand="ZoomManager.prototype.getInstance().reset();"/>
  59.   </commandset>
  60.  
  61.   <menu id="menu_textZoom" accesskey="&textZoomMenu.accesskey;">
  62.     <menupopup id="menu_textZoomPopup" onpopupshowing="updateTextZoomMenu();">
  63.       <menuitem key="key_textZoomReduce"  label="&textZoomReduceCmd.label;"  accesskey="&textZoomReduceCmd.accesskey;" command="cmd_textZoomReduce"/>
  64.       <menuitem key="key_textZoomEnlarge" label="&textZoomEnlargeCmd.label;" accesskey="&textZoomEnlargeCmd.accesskey;" command="cmd_textZoomEnlarge"/>
  65.       <menuseparator/>
  66.       <menuseparator id="menu_textZoomInsertBefore"/>
  67.       <menuitem id="menu_textZoomOther" type="radio" name="textZoom" accesskey="&textZoomOtherCmd.accesskey;" oncommand="setTextZoomOther();"/>
  68.     </menupopup>
  69.   </menu>
  70.  
  71. </overlay>
  72.