toolkit/profile/content/profileSelection.xul

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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

mercurial