<?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();"
    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;" for="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>
