browser/base/content/downloadManagerOverlay.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/base/content/downloadManagerOverlay.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +<?xml version="1.0"?>
     1.5 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.8 +
     1.9 +<?xul-overlay href="chrome://browser/content/macBrowserOverlay.xul"?>
    1.10 +
    1.11 +<overlay id="downloadManagerOverlay"
    1.12 +         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    1.13 +         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    1.14 +
    1.15 +<window id="downloadManager">
    1.16 +
    1.17 +#include browserMountPoints.inc
    1.18 +
    1.19 +<script type="application/javascript"><![CDATA[
    1.20 +  window.addEventListener("load", function(event) {
    1.21 +    // Bug 405696: Map Edit -> Find command to the download manager's command
    1.22 +    var findMenuItem = document.getElementById("menu_find");
    1.23 +    findMenuItem.setAttribute("command", "cmd_findDownload");
    1.24 +    findMenuItem.setAttribute("key", "key_findDownload");
    1.25 +
    1.26 +    // Bug 429614: Map Edit -> Select All command to download manager's command
    1.27 +    let selectAllMenuItem = document.getElementById("menu_selectAll");
    1.28 +    selectAllMenuItem.setAttribute("command", "cmd_selectAllDownloads");
    1.29 +    selectAllMenuItem.setAttribute("key", "key_selectAllDownloads");
    1.30 +  }, false);
    1.31 +]]></script>
    1.32 +
    1.33 +</window>
    1.34 +
    1.35 +</overlay>

mercurial