DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (0ddcbf234291)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
<?xml version="1.0"?> 
<!-- mac version of platformCommunicatorOverlay.xul -->

<!DOCTYPE overlay [

<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%brandDTD;
<!ENTITY % platformCommunicatorDTD SYSTEM "chrome://communicator-platform/locale/platformCommunicatorOverlay.dtd">
%platformCommunicatorDTD;
<!ENTITY % utilityDTD SYSTEM "chrome://communicator/locale/utilityOverlay.dtd">
%utilityDTD;

]>

<overlay id="platformCommunicatorOverlay"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <!-- close -->
  <menuitem id="menu_close" label="&closeCmd.label;" key="key_close" command="cmd_close"/>
  <key id="key_close"  key="&closeCmd.key;" command="cmd_close" modifiers="accel"/>
  <key id="key_closeWindow"  key="&closeCmd.key;" command="cmd_closeWindow" modifiers="accel,shift"/>
  <key id="key_gotoHistory"  key="&historyCmd.key;" oncommand="toHistory();" modifiers="accel,shift"/>

  <menuitem id="menu_preferences" label="&preferencesCmd.label;"
            key="key_preferences"/>

  <menupopup id="menu_FilePopup">
    <!-- These 5 menuitems (and the menu_preferences menuitem above) are added
      to the Application menu. They just need to be in the DOM, widget code
      does the rest -->
    <menuitem id="menu_mac_services" label="&servicesMenu.label;"/>
    <menuitem id="menu_mac_hide_app" label="&hideThisAppCmd.label;"
              key="key_hideThisApp"/>
    <menuitem id="menu_mac_hide_others" label="&hideOtherAppsCmd.label;"
              key="key_hideOtherApps"/>
    <menuitem id="menu_mac_show_all" label="&showAllAppsCmd.label;"/>
    <menuitem id="menu_FileQuitItem" label="&quitApplicationCmd.label;"
              key="key_quit" command="cmd_quit"/>
  </menupopup>
  <key id="key_quit"  key="&quitApplicationCmd.key;" command="cmd_quit" 
       modifiers="&quitApplicationCmd.modifiers;"/>
  <command id="cmd_quit" oncommand="goQuitApplication()"/>

  <!-- Edit Menu -->
  <menuitem id="menu_redo" label="&redoCmd.label;" key="key_redo" command="cmd_redo"/>
  <key id="key_redo"   key="&redoCmd.key;" command="cmd_redo" modifiers="shift, accel"/>
  <!-- Select All Key -->
  <key id="key_selectAll" key="&selectAllCmd.key;" modifiers="accel"/>

  <!-- Delete Key -->
  <!-- not all Mac keyboards have a VK_DELETE key, so we use VK_BACK as
       the primary and provide VK_DELETE as a secondary key definition -->
  <key id="key_delete"  keycode="VK_BACK"   command="cmd_delete"/>
  <key id="key_delete2" keycode="VK_DELETE" command="cmd_delete"/>

  <!-- This adds the Print Setup item to both Browser and Composer's
       Print toolbar button popup
   -->
  <menupopup id="printMenu">
    <menuitem id="printSetupToolbar"
         insertafter="printMenuItemToolbar"
         label="&printSetupCmd.label;"
         accesskey="&printSetupCmd.accesskey;"
         command="cmd_printSetup"/>
  </menupopup>

  <!-- Find As You Type Keys -->
  <key id="key_findTypeText"
       key="&findTypeTextCmd.key;"/>
  <key id="key_findTypeLinks"
       key="&findTypeLinksCmd.key;"/>

  <menuitem id="printPreviewMenuItem" hidden="true"/>
  <menuitem id="printPreviewMenuItemToolbar" hidden="true"/>
  <menuitem id="printPreviewAddressBook" hidden="true"/>
  <menuitem id="mailContext-printpreview" hidden="true"/>

  <!-- Tasks Commands -->
  <commandset id="tasksCommands"> 
    <command id="cmd_minimizeWindow" oncommand="window.minimize();"/>
    <command id="cmd_zoomWindow" oncommand="ZoomCurrentWindow();"/>
  </commandset>

  <!-- Tasks Keys -->
  <keyset id="tasksKeys">
    <key id="key_minimizeWindow"
         command="cmd_minimizeWindow"
         key="&minimizeWindowCmd.key;"
         modifiers="accel"/>

    <key id="key_openHelp"
         key="&openHelpCmd.key;"
         modifiers="&openHelpCmd.modifiers;"
         command="cmd_openHelp"/>

    <key id="key_hideThisApp"
         key="&hideThisAppCmd.key;"
         modifiers="&hideThisAppCmd.modifiers;"/>

    <key id="key_hideOtherApps"
         key="&hideOtherAppsCmd.key;"
         modifiers="&hideOtherAppsCmd.modifiers;"/>

    <key id="key_preferences"
         key="&preferencesCmd.key;"
         modifiers="&preferencesCmd.modifiers;"/>
  </keyset>

  <!-- Window menu -->
  <menupopup id="windowPopup">
    <menuitem command="cmd_minimizeWindow"
              label="&minimizeWindowCmd.label;"
              key="key_minimizeWindow"
              position="1"/>
    <menuitem command="cmd_zoomWindow"
              label="&zoomWindowCmd.label;"
              position="2"/>
    <menuseparator position="3"/>
  </menupopup>

</overlay>