browser/base/content/downloadManagerOverlay.xul

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     1 <?xml version="1.0"?>
     2 # This Source Code Form is subject to the terms of the Mozilla Public
     3 # License, v. 2.0. If a copy of the MPL was not distributed with this
     4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     6 <?xul-overlay href="chrome://browser/content/macBrowserOverlay.xul"?>
     8 <overlay id="downloadManagerOverlay"
     9          xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    10          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    12 <window id="downloadManager">
    14 #include browserMountPoints.inc
    16 <script type="application/javascript"><![CDATA[
    17   window.addEventListener("load", function(event) {
    18     // Bug 405696: Map Edit -> Find command to the download manager's command
    19     var findMenuItem = document.getElementById("menu_find");
    20     findMenuItem.setAttribute("command", "cmd_findDownload");
    21     findMenuItem.setAttribute("key", "key_findDownload");
    23     // Bug 429614: Map Edit -> Select All command to download manager's command
    24     let selectAllMenuItem = document.getElementById("menu_selectAll");
    25     selectAllMenuItem.setAttribute("command", "cmd_selectAllDownloads");
    26     selectAllMenuItem.setAttribute("key", "key_selectAllDownloads");
    27   }, false);
    28 ]]></script>
    30 </window>
    32 </overlay>

mercurial