toolkit/mozapps/handling/content/dialog.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/mozapps/handling/content/dialog.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,47 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<?xml-stylesheet href="chrome://global/skin/global.css"?>
     1.6 +<?xml-stylesheet href="chrome://mozapps/content/handling/handler.css"?>
     1.7 +<?xml-stylesheet href="chrome://mozapps/skin/handling/handling.css"?>
     1.8 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.9 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
    1.10 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
    1.11 +
    1.12 +<!DOCTYPE dialog SYSTEM "chrome://mozapps/locale/handling/handling.dtd">
    1.13 +
    1.14 +<dialog id="handling"
    1.15 +        ondialogaccept="return dialog.onAccept();"
    1.16 +        onload="dialog.initialize();"
    1.17 +        style="min-width: &window.emWidth;; min-height: &window.emHeight;;"
    1.18 +        persist="width height screenX screenY"
    1.19 +        aria-describedby="description-text"
    1.20 +        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    1.21 +
    1.22 +  <script src="chrome://mozapps/content/handling/dialog.js" type="application/javascript"/>
    1.23 +
    1.24 +  <stringbundleset id="strings">
    1.25 +    <stringbundle id="base-strings"
    1.26 +                  src="chrome://mozapps/locale/handling/handling.properties"/>
    1.27 +  </stringbundleset>
    1.28 +
    1.29 +  <hbox>
    1.30 +    <image id="description-image"/>
    1.31 +    <description id="description-text"/>
    1.32 +  </hbox>
    1.33 +
    1.34 +  <vbox flex="1">
    1.35 +    <label id="item-action-text" control="items"/>
    1.36 +    <richlistbox id="items" flex="1"
    1.37 +                 ondblclick="dialog.onDblClick();"
    1.38 +                 onselect="dialog.updateOKButton();">
    1.39 +      <richlistitem id="item-choose" orient="horizontal" selected="true">
    1.40 +        <label value="&ChooseApp.description;" flex="1"/>
    1.41 +        <button oncommand="dialog.chooseApplication();"
    1.42 +                label="&ChooseApp.label;" accesskey="&ChooseApp.accessKey;"/>
    1.43 +      </richlistitem>
    1.44 +    </richlistbox>
    1.45 +  </vbox>
    1.46 +
    1.47 +  <checkbox id="remember" aria-describedby="remember-text" oncommand="dialog.onCheck();"/>
    1.48 +  <description id="remember-text"/>
    1.49 +
    1.50 +</dialog>

mercurial