toolkit/components/apppicker/content/appPicker.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/components/apppicker/content/appPicker.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,40 @@
     1.4 +<?xml version="1.0"?> 
     1.5 +
     1.6 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.9 +
    1.10 +  <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
    1.11 +  <?xml-stylesheet href="chrome://global/skin/appPicker.css" type="text/css"?>
    1.12 +
    1.13 +  <!DOCTYPE dialog SYSTEM "chrome://global/locale/appPicker.dtd" >
    1.14 +
    1.15 +  <dialog id="app-picker"
    1.16 +    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    1.17 +    onload="g_dialog.appPickerLoad();"
    1.18 +    buttons="accept,cancel,extra2"
    1.19 +    buttonlabelextra2="&BrowseButton.label;"
    1.20 +    ondialogextra2="g_dialog.appPickerBrowse();"
    1.21 +    defaultButton="cancel"
    1.22 +    ondialogaccept="return g_dialog.appPickerOK();"
    1.23 +    ondialogcancel="return g_dialog.appPickerCancel();"
    1.24 +    aria-describedby="content-description suggested-filename"
    1.25 +    persist="screenX screenY">
    1.26 +
    1.27 +    <script type="application/javascript" src="chrome://global/content/appPicker.js"/>
    1.28 +
    1.29 +    <hbox id="file-info" align="center">
    1.30 +      <image id="content-icon" src=""/>
    1.31 +      <vbox flex="1">
    1.32 +        <label id="content-description" crop="center" value=""/>
    1.33 +        <label id="suggested-filename" crop="center" value=""/>
    1.34 +      </vbox>
    1.35 +    </hbox>
    1.36 +
    1.37 +    <label id="sendto-message" value="&SendMsg.label;" control="app-picker-listbox"/>
    1.38 +
    1.39 +    <listbox id="app-picker-listbox" rows="5"
    1.40 +             ondblclick="g_dialog.appDoubleClick();"/>
    1.41 +
    1.42 +    <label id="app-picker-notfound" value="&NoAppFound.label;" hidden="true"/>
    1.43 +  </dialog>

mercurial