|
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/. |
|
5 |
|
6 <?xul-overlay href="chrome://browser/content/macBrowserOverlay.xul"?> |
|
7 |
|
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"> |
|
11 |
|
12 <window id="downloadManager"> |
|
13 |
|
14 #include browserMountPoints.inc |
|
15 |
|
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"); |
|
22 |
|
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> |
|
29 |
|
30 </window> |
|
31 |
|
32 </overlay> |