blob: 2e2dab4e456e82ee1ab0d23a888efaa76475c30b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/global.css"?>
<?xml-stylesheet href="chrome://mozapps/content/handling/handler.css"?>
<?xml-stylesheet href="chrome://mozapps/skin/handling/handling.css"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<!DOCTYPE dialog SYSTEM "chrome://mozapps/locale/handling/handling.dtd">
<dialog id="handling"
ondialogaccept="return dialog.onAccept();"
onload="dialog.initialize();"
style="min-width: &window.emWidth;; min-height: &window.emHeight;;"
persist="width height screenX screenY"
aria-describedby="description-text"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script src="chrome://mozapps/content/handling/dialog.js" type="application/javascript"/>
<stringbundleset id="strings">
<stringbundle id="base-strings"
src="chrome://mozapps/locale/handling/handling.properties"/>
</stringbundleset>
<hbox>
<image id="description-image"/>
<description id="description-text"/>
</hbox>
<vbox flex="1">
<label id="item-action-text" control="items"/>
<richlistbox id="items" flex="1"
ondblclick="dialog.onDblClick();"
onselect="dialog.updateOKButton();">
<richlistitem id="item-choose" orient="horizontal" selected="true">
<label value="&ChooseOtherApp.description;" flex="1"/>
<button oncommand="dialog.chooseApplication();"
label="&ChooseApp.label;" accesskey="&ChooseApp.accessKey;"/>
</richlistitem>
</richlistbox>
</vbox>
<checkbox id="remember" aria-describedby="remember-text" oncommand="dialog.onCheck();"/>
<description id="remember-text"/>
<hbox class="dialog-button-box" pack="end">
#ifdef XP_WIN
<button dlgtype="accept" label="&accept;" icon="open" class="dialog-button"/>
<button dlgtype="cancel" icon="cancel" class="dialog-button"/>
#else
<button dlgtype="cancel" icon="cancel" class="dialog-button"/>
<button dlgtype="accept" label="&accept;" icon="open" class="dialog-button"/>
#endif
</hbox>
</dialog>
|