Bug 452317 - FeedConverter.js: QueryInterface should throw NS_ERROR_NO_INTERFACE...
[wine-gecko.git] / toolkit / mozapps / handling / content / dialog.xul
blob0112201966694766f87f1175c25f5bf3fcbd407d
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 <!-- ***** BEGIN LICENSE BLOCK *****
6 - Version: MPL 1.1/GPL 2.0/LGPL 2.1
8 - The contents of this file are subject to the Mozilla Public License Version
9 - 1.1 (the "License"); you may not use this file except in compliance with
10 - the License. You may obtain a copy of the License at
11 - http://www.mozilla.org/MPL/
13 - Software distributed under the License is distributed on an "AS IS" basis,
14 - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
15 - for the specific language governing rights and limitations under the
16 - License.
18 - The Original Code is the Protocol Handler Dialog.
20 - The Initial Developer of the Original Code is
21 - Mozilla Corporation.
22 - Portions created by the Initial Developer are Copyright (C) 2007
23 - the Initial Developer. All Rights Reserved.
25 - Contributor(s):
26 - Shawn Wilsher <me@shawnwilsher.com> (Original Author)
28 - Alternatively, the contents of this file may be used under the terms of
29 - either the GNU General Public License Version 2 or later (the "GPL"), or
30 - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
31 - in which case the provisions of the GPL or the LGPL are applicable instead
32 - of those above. If you wish to allow use of your version of this file only
33 - under the terms of either the GPL or the LGPL, and not to allow others to
34 - use your version of this file under the terms of the MPL, indicate your
35 - decision by deleting the provisions above and replace them with the notice
36 - and other provisions required by the LGPL or the GPL. If you do not delete
37 - the provisions above, a recipient may use your version of this file under
38 - the terms of any one of the MPL, the GPL or the LGPL.
40 - ***** END LICENSE BLOCK ***** -->
42 <!DOCTYPE dialog SYSTEM "chrome://mozapps/locale/handling/handling.dtd">
44 <dialog id="handling"
45 ondialogaccept="return dialog.onAccept();"
46 onload="dialog.initialize();"
47 style="min-width: &window.emWidth;; min-height: &window.emHeight;;"
48 persist="width height screenX screenY"
49 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
51 <script src="chrome://mozapps/content/handling/dialog.js" type="application/javascript"/>
53 <stringbundleset id="strings">
54 <stringbundle id="base-strings"
55 src="chrome://mozapps/locale/handling/handling.properties"/>
56 </stringbundleset>
58 <hbox>
59 <image id="description-image"/>
60 <description id="description-text"/>
61 </hbox>
63 <vbox flex="1">
64 <description id="item-action-text"/>
65 <richlistbox id="items" flex="1"
66 ondblclick="dialog.onDblClick();"
67 onselect="dialog.updateOKButton();">
68 <richlistitem id="item-choose" orient="horizontal" selected="true">
69 <label value="&ChooseApp.description;" flex="1"/>
70 <button oncommand="dialog.chooseApplication();"
71 label="&ChooseApp.label;" accesskey="&ChooseApp.accessKey;"/>
72 </richlistitem>
73 </richlistbox>
74 </vbox>
76 <checkbox id="remember" oncommand="dialog.onCheck();"/>
77 <description id="remember-text"/>
79 </dialog>