Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- --> |
michael@0 | 3 | <!-- |
michael@0 | 4 | |
michael@0 | 5 | This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 6 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 7 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 8 | |
michael@0 | 9 | <?xml-stylesheet href="chrome://mozapps/skin/profile/profileSelection.css" type="text/css"?> |
michael@0 | 10 | |
michael@0 | 11 | <!DOCTYPE window [ |
michael@0 | 12 | <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> |
michael@0 | 13 | %brandDTD; |
michael@0 | 14 | <!ENTITY % profileDTD SYSTEM "chrome://mozapps/locale/profile/profileSelection.dtd"> |
michael@0 | 15 | %profileDTD; |
michael@0 | 16 | ]> |
michael@0 | 17 | |
michael@0 | 18 | <dialog |
michael@0 | 19 | id="profileWindow" |
michael@0 | 20 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 21 | class="non-resizable" |
michael@0 | 22 | title="&windowtitle.label;" |
michael@0 | 23 | orient="vertical" |
michael@0 | 24 | buttons="accept,cancel" |
michael@0 | 25 | style="width: 30em;" |
michael@0 | 26 | onload="startup();" |
michael@0 | 27 | ondialogaccept="return acceptDialog()" |
michael@0 | 28 | ondialogcancel="return exitDialog()" |
michael@0 | 29 | buttonlabelaccept="&start.label;" |
michael@0 | 30 | buttonlabelcancel="&exit.label;"> |
michael@0 | 31 | |
michael@0 | 32 | <stringbundle id="bundle_profileManager" |
michael@0 | 33 | src="chrome://mozapps/locale/profile/profileSelection.properties"/> |
michael@0 | 34 | <stringbundle id="bundle_brand" |
michael@0 | 35 | src="chrome://branding/locale/brand.properties"/> |
michael@0 | 36 | |
michael@0 | 37 | <script type="application/javascript" src="chrome://mozapps/content/profile/profileSelection.js"/> |
michael@0 | 38 | |
michael@0 | 39 | <description class="label">&pmDescription.label;</description> |
michael@0 | 40 | |
michael@0 | 41 | <separator class="thin"/> |
michael@0 | 42 | |
michael@0 | 43 | <hbox class="profile-box indent" flex="1"> |
michael@0 | 44 | |
michael@0 | 45 | <vbox id="managebuttons"> |
michael@0 | 46 | <button id="newbutton" label="&newButton.label;" |
michael@0 | 47 | accesskey="&newButton.accesskey;" oncommand="CreateProfileWizard();"/> |
michael@0 | 48 | <button id="renbutton" label="&renameButton.label;" |
michael@0 | 49 | accesskey="&renameButton.accesskey;" oncommand="RenameProfile();"/> |
michael@0 | 50 | <button id="delbutton" label="&deleteButton.label;" |
michael@0 | 51 | accesskey="&deleteButton.accesskey;" oncommand="ConfirmDelete();"/> |
michael@0 | 52 | </vbox> |
michael@0 | 53 | |
michael@0 | 54 | <separator flex="1"/> |
michael@0 | 55 | |
michael@0 | 56 | <vbox flex="1"> |
michael@0 | 57 | <listbox id="profiles" rows="5" seltype="single" |
michael@0 | 58 | ondblclick="onProfilesDblClick(event)" |
michael@0 | 59 | onkeypress="onProfilesKey(event);"> |
michael@0 | 60 | </listbox> |
michael@0 | 61 | |
michael@0 | 62 | <!-- Bug 257777 --> |
michael@0 | 63 | <checkbox id="offlineState" label="&offlineState.label;" accesskey="&offlineState.accesskey;"/> |
michael@0 | 64 | |
michael@0 | 65 | <checkbox id="autoSelectLastProfile" label="&useSelected.label;" |
michael@0 | 66 | accesskey="&useSelected.accesskey;"/> |
michael@0 | 67 | </vbox> |
michael@0 | 68 | |
michael@0 | 69 | </hbox> |
michael@0 | 70 | </dialog> |