|
1 <?xml version="1.0"?> |
|
2 <?xml-stylesheet href="chrome://global/skin/global.css"?> |
|
3 <?xml-stylesheet href="chrome://mozapps/content/handling/handler.css"?> |
|
4 <?xml-stylesheet href="chrome://mozapps/skin/handling/handling.css"?> |
|
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 |
|
7 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
8 |
|
9 <!DOCTYPE dialog SYSTEM "chrome://mozapps/locale/handling/handling.dtd"> |
|
10 |
|
11 <dialog id="handling" |
|
12 ondialogaccept="return dialog.onAccept();" |
|
13 onload="dialog.initialize();" |
|
14 style="min-width: &window.emWidth;; min-height: &window.emHeight;;" |
|
15 persist="width height screenX screenY" |
|
16 aria-describedby="description-text" |
|
17 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
|
18 |
|
19 <script src="chrome://mozapps/content/handling/dialog.js" type="application/javascript"/> |
|
20 |
|
21 <stringbundleset id="strings"> |
|
22 <stringbundle id="base-strings" |
|
23 src="chrome://mozapps/locale/handling/handling.properties"/> |
|
24 </stringbundleset> |
|
25 |
|
26 <hbox> |
|
27 <image id="description-image"/> |
|
28 <description id="description-text"/> |
|
29 </hbox> |
|
30 |
|
31 <vbox flex="1"> |
|
32 <label id="item-action-text" control="items"/> |
|
33 <richlistbox id="items" flex="1" |
|
34 ondblclick="dialog.onDblClick();" |
|
35 onselect="dialog.updateOKButton();"> |
|
36 <richlistitem id="item-choose" orient="horizontal" selected="true"> |
|
37 <label value="&ChooseApp.description;" flex="1"/> |
|
38 <button oncommand="dialog.chooseApplication();" |
|
39 label="&ChooseApp.label;" accesskey="&ChooseApp.accessKey;"/> |
|
40 </richlistitem> |
|
41 </richlistbox> |
|
42 </vbox> |
|
43 |
|
44 <checkbox id="remember" aria-describedby="remember-text" oncommand="dialog.onCheck();"/> |
|
45 <description id="remember-text"/> |
|
46 |
|
47 </dialog> |