Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | |
michael@0 | 3 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 6 | |
michael@0 | 7 | <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?> |
michael@0 | 8 | <?xml-stylesheet href="chrome://global/skin/appPicker.css" type="text/css"?> |
michael@0 | 9 | |
michael@0 | 10 | <!DOCTYPE dialog SYSTEM "chrome://global/locale/appPicker.dtd" > |
michael@0 | 11 | |
michael@0 | 12 | <dialog id="app-picker" |
michael@0 | 13 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 14 | onload="g_dialog.appPickerLoad();" |
michael@0 | 15 | buttons="accept,cancel,extra2" |
michael@0 | 16 | buttonlabelextra2="&BrowseButton.label;" |
michael@0 | 17 | ondialogextra2="g_dialog.appPickerBrowse();" |
michael@0 | 18 | defaultButton="cancel" |
michael@0 | 19 | ondialogaccept="return g_dialog.appPickerOK();" |
michael@0 | 20 | ondialogcancel="return g_dialog.appPickerCancel();" |
michael@0 | 21 | aria-describedby="content-description suggested-filename" |
michael@0 | 22 | persist="screenX screenY"> |
michael@0 | 23 | |
michael@0 | 24 | <script type="application/javascript" src="chrome://global/content/appPicker.js"/> |
michael@0 | 25 | |
michael@0 | 26 | <hbox id="file-info" align="center"> |
michael@0 | 27 | <image id="content-icon" src=""/> |
michael@0 | 28 | <vbox flex="1"> |
michael@0 | 29 | <label id="content-description" crop="center" value=""/> |
michael@0 | 30 | <label id="suggested-filename" crop="center" value=""/> |
michael@0 | 31 | </vbox> |
michael@0 | 32 | </hbox> |
michael@0 | 33 | |
michael@0 | 34 | <label id="sendto-message" value="&SendMsg.label;" control="app-picker-listbox"/> |
michael@0 | 35 | |
michael@0 | 36 | <listbox id="app-picker-listbox" rows="5" |
michael@0 | 37 | ondblclick="g_dialog.appDoubleClick();"/> |
michael@0 | 38 | |
michael@0 | 39 | <label id="app-picker-notfound" value="&NoAppFound.label;" hidden="true"/> |
michael@0 | 40 | </dialog> |