Bug 452317 - FeedConverter.js: QueryInterface should throw NS_ERROR_NO_INTERFACE...
[wine-gecko.git] / embedding / components / ui / helperAppDlg / nsHelperAppDlg.xul
blob6e098d0d65ff09810b1b667f0c7092ccd1baa9ba
1 <?xml version="1.0"?>
3 <!-- ***** BEGIN LICENSE BLOCK *****
4 Version: MPL 1.1/GPL 2.0/LGPL 2.1
6 The contents of this file are subject to the Mozilla Public License Version
7 1.1 (the "License"); you may not use this file except in compliance with
8 the License. You may obtain a copy of the License at
9 http://www.mozilla.org/MPL/
11 Software distributed under the License is distributed on an "AS IS" basis,
12 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 for the specific language governing rights and limitations under the
14 License.
16 The Original Code is Mozilla Communicator client code, released
17 March 31, 1998.
19 The Initial Developer of the Original Code is
20 Netscape Communications Corporation.
21 Portions created by the Initial Developer are Copyright (C) 1998-1999
22 the Initial Developer. All Rights Reserved.
24 Contributor(s):
25 Bill Law <law@netscape.com>
27 Alternatively, the contents of this file may be used under the terms of
28 either the GNU General Public License Version 2 or later (the "GPL"), or
29 the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
30 in which case the provisions of the GPL or the LGPL are applicable instead
31 of those above. If you wish to allow use of your version of this file only
32 under the terms of either the GPL or the LGPL, and not to allow others to
33 use your version of this file under the terms of the MPL, indicate your
34 decision by deleting the provisions above and replace them with the notice
35 and other provisions required by the GPL or the LGPL. If you do not delete
36 the provisions above, a recipient may use your version of this file under
37 the terms of any one of the MPL, the GPL or the LGPL.
39 ***** END LICENSE BLOCK ***** -->
41 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
43 <!DOCTYPE dialog [
44 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
45 %brandDTD;
46 <!ENTITY % nsHelperAppDlgDTD SYSTEM "chrome://global/locale/nsHelperAppDlg.dtd" >
47 %nsHelperAppDlgDTD;
48 ]>
50 <dialog id="nsHelperAppDlg"
51 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
52 title="&caption.label;"
53 onload="dialog.initDialog()"
54 onblur="dialog.onBlur(event);"
55 onfocus="dialog.onFocus(event);"
56 onunload="if (dialog) dialog.onCancel()"
57 style="width: 40em;"
58 ondialogaccept="return dialog.onOK()"
59 ondialogcancel="return dialog.onCancel()">
61 <vbox>
62 <hbox>
63 <vbox flex="1">
64 <description id="intro">&intro.label;</description>
65 <description id="location" dir="ltr" crop="start" value=""/>
66 <separator orient="horizontal" class="thin"/>
67 <description id="prompt">&prompt.label;</description>
68 </vbox>
69 <vbox>
70 <image id="contentTypeImage"/>
71 </vbox>
72 </hbox>
74 <separator orient="horizontal" class="thin"/>
76 <radiogroup id="mode" oncommand="dialog.toggleChoice()" align="stretch">
77 <hbox>
78 <radio id="useSystemDefault"
79 label="&useSystemDefault.noDesc.label;"
80 accesskey="&useSystemDefault.accesskey;"/>
81 </hbox>
82 <hbox align="center">
83 <radio id="openUsing"
84 label="&openUsing.label;"
85 accesskey="&openUsing.accesskey;"/>
86 <textbox id="appPath"
87 flex="1"
88 oninput="dialog.updateOKButton()"
89 onfocus="this.select()"/>
90 <button id="chooseApp"
91 label="&chooseApp.label;"
92 accesskey="&chooseApp.accesskey;"
93 oncommand="dialog.chooseApp()"/>
94 </hbox>
95 <hbox>
96 <radio id="saveToDisk"
97 label="&saveToDisk.label;"
98 accesskey="&saveToDisk.accesskey;"/>
99 </hbox>
100 </radiogroup>
102 <separator orient="horizontal" class="thin"/>
104 <checkbox id="alwaysHandle" label="&alwaysHandle.label;" accesskey="&alwaysHandle.accesskey;"/>
106 <separator class="groove"/>
107 </vbox>
109 <!-- Localizable strings (from .dtd) -->
110 <strings style="display:none;">
111 <string id="brandShortName"> &brandShortName; </string>
112 <string id="intro.label"> &intro.label; </string>
113 <string id="intro.noDesc.label"> &intro.noDesc.label; </string>
114 <string id="intro.attachment.label"> &intro.attachment.label; </string>
115 <string id="intro.attachment.noDesc.label">&intro.attachment.noDesc.label;</string>
116 <string id="intro.sniffed.label"> &intro.sniffed.label; </string>
117 <string id="intro.sniffed.noDesc.label"> &intro.sniffed.noDesc.label; </string>
118 <string id="defaultApp"> &useSystemDefault.label; </string>
119 <string id="badApp"> &badApp; </string>
120 <string id="badApp.title"> &badApp.title; </string>
121 <string id="chooseAppFilePickerTitle"> &chooseAppFilePickerTitle; </string>
122 </strings>
123 </dialog>