summaryrefslogtreecommitdiffstats
path: root/toolkit/components/apppicker/content/appPicker.xul
blob: 3a50483c1c20527f1a0d4831a662170282dd0925 (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
40
<?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 dialog SYSTEM "chrome://global/locale/appPicker.dtd" >

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

    <script type="application/javascript" 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"/>

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

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