tenfourfox/toolkit/mozapps/handling/content/dialog.xul
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

48 lines
1.8 KiB
XML

<?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="&ChooseApp.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"/>
</dialog>