summaryrefslogtreecommitdiffstats
path: root/toolkit/components/apppicker/content/appPicker.xhtml
blob: e4848cd313582df94c0001556ec348b4df1c580b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0"?>

<!-- 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/. -->

  <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  <?xml-stylesheet href="chrome://global/skin/appPicker.css" type="text/css"?>

  <!DOCTYPE window SYSTEM "chrome://global/locale/appPicker.dtd" >

  <window
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    onload="g_dialog.appPickerLoad();"
    aria-describedby="content-description suggested-filename"
    persist="screenX screenY">
  <dialog id="app-picker"
    buttons="accept,cancel,extra2"
    buttonlabelextra2="&BrowseButton.label;"
    defaultButton="accept">

    <script src="chrome://global/content/appPicker.js"/>

    <hbox id="file-info" align="center">
      <image id="content-icon" src=""/>
      <vbox flex="1">
        <label id="content-description" crop="center" value=""/>
        <label id="suggested-filename" crop="center" value=""/>
      </vbox>
    </hbox>

    <label id="sendto-message" value="&SendMsg.label;" control="app-picker-listbox"/>

    <richlistbox id="app-picker-listbox"
                 ondblclick="g_dialog.appDoubleClick();"/>

    <label id="app-picker-notfound" value="&NoAppFound.label;" hidden="true"/>
  </dialog>
  </window>