browser/base/content/downloadManagerOverlay.xul

Wed, 31 Dec 2014 06:55:46 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:46 +0100
changeset 1
ca08bd8f51b2
permissions
-rw-r--r--

Added tag TORBROWSER_REPLICA for changeset 6474c204b198

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

mercurial