|
1 <?xml version="1.0"?> |
|
2 <!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- --> |
|
3 <!-- vim: set ts=2 et sw=2 tw=80: --> |
|
4 |
|
5 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
|
6 - License, v. 2.0. If a copy of the MPL was not distributed with this file, |
|
7 - You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
8 |
|
9 <!DOCTYPE overlay [ |
|
10 <!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd" > |
|
11 %browserDTD; |
|
12 ]> |
|
13 |
|
14 <overlay xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
|
15 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
|
16 id="indicatorOverlay"> |
|
17 |
|
18 <!-- We dynamically add the stack with the progress meter and notification icon, |
|
19 originally loaded lazily because of performance reasons, to the existing |
|
20 downloads-button. --> |
|
21 <toolbarbutton id="downloads-button" indicator="true"> |
|
22 <!-- The panel's anchor area is smaller than the outer button, but must |
|
23 always be visible and must not move or resize when the indicator |
|
24 state changes, otherwise the panel could change its position or lose |
|
25 its arrow unexpectedly. --> |
|
26 <stack id="downloads-indicator-anchor" class="toolbarbutton-icon"> |
|
27 <vbox id="downloads-indicator-progress-area" pack="center"> |
|
28 <description id="downloads-indicator-counter"/> |
|
29 <progressmeter id="downloads-indicator-progress" class="plain" |
|
30 min="0" max="100"/> |
|
31 </vbox> |
|
32 <vbox id="downloads-indicator-icon"/> |
|
33 </stack> |
|
34 </toolbarbutton> |
|
35 </overlay> |