gecko/toolkit/mozapps/handling/content/dialog.xul
2012-05-21 12:12:37 +01:00

47 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"
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" for="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" oncommand="dialog.onCheck();"/>
<description id="remember-text"/>
</dialog>