toolkit/mozapps/handling/content/dialog.xul

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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 <!-- This Source Code Form is subject to the terms of the Mozilla Public
     6    - License, v. 2.0. If a copy of the MPL was not distributed with this
     7    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     9 <!DOCTYPE dialog SYSTEM "chrome://mozapps/locale/handling/handling.dtd">
    11 <dialog id="handling"
    12         ondialogaccept="return dialog.onAccept();"
    13         onload="dialog.initialize();"
    14         style="min-width: &window.emWidth;; min-height: &window.emHeight;;"
    15         persist="width height screenX screenY"
    16         aria-describedby="description-text"
    17         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    19   <script src="chrome://mozapps/content/handling/dialog.js" type="application/javascript"/>
    21   <stringbundleset id="strings">
    22     <stringbundle id="base-strings"
    23                   src="chrome://mozapps/locale/handling/handling.properties"/>
    24   </stringbundleset>
    26   <hbox>
    27     <image id="description-image"/>
    28     <description id="description-text"/>
    29   </hbox>
    31   <vbox flex="1">
    32     <label id="item-action-text" control="items"/>
    33     <richlistbox id="items" flex="1"
    34                  ondblclick="dialog.onDblClick();"
    35                  onselect="dialog.updateOKButton();">
    36       <richlistitem id="item-choose" orient="horizontal" selected="true">
    37         <label value="&ChooseApp.description;" flex="1"/>
    38         <button oncommand="dialog.chooseApplication();"
    39                 label="&ChooseApp.label;" accesskey="&ChooseApp.accessKey;"/>
    40       </richlistitem>
    41     </richlistbox>
    42   </vbox>
    44   <checkbox id="remember" aria-describedby="remember-text" oncommand="dialog.onCheck();"/>
    45   <description id="remember-text"/>
    47 </dialog>

mercurial