toolkit/profile/content/profileSelection.xul

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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