toolkit/profile/content/profileSelection.xul
author Nick Alexander <nalexander@mozilla.com>
Wed, 09 Jul 2014 08:22:13 -0700
changeset 193273 13d9e025fc86e727793af1d30dbee89993149cde
parent 169868 775c66270625c26dc182c2e969f041ed0e4ec6ab
child 276492 a2705f50d0619188defd49cb471f5917749271a2
permissions -rw-r--r--
Bug 1033560 - Follow-up: Fix missed rename. a=bustage DONTBUILD because the feature is not enabled on TBPL.

<?xml version="1.0"?> 
<!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
<!--

 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://mozapps/skin/profile/profileSelection.css" type="text/css"?>

<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%brandDTD;
<!ENTITY % profileDTD SYSTEM "chrome://mozapps/locale/profile/profileSelection.dtd">
%profileDTD;
]>

<dialog
  id="profileWindow"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
  class="non-resizable"
  title="&windowtitle.label;"
  orient="vertical" 
  buttons="accept,cancel"
  style="width: 30em;"
  onload="startup();"
  ondialogaccept="return acceptDialog()"
  ondialogcancel="return exitDialog()"
  buttonlabelaccept="&start.label;"
  buttonlabelcancel="&exit.label;">

  <stringbundle id="bundle_profileManager"
                src="chrome://mozapps/locale/profile/profileSelection.properties"/>
  <stringbundle id="bundle_brand"
                src="chrome://branding/locale/brand.properties"/>

  <script type="application/javascript" src="chrome://mozapps/content/profile/profileSelection.js"/>

  <description class="label">&pmDescription.label;</description>

  <separator class="thin"/>

  <hbox class="profile-box indent" flex="1">

    <vbox id="managebuttons">
      <button id="newbutton" label="&newButton.label;"
              accesskey="&newButton.accesskey;" oncommand="CreateProfileWizard();"/>
      <button id="renbutton" label="&renameButton.label;"
              accesskey="&renameButton.accesskey;" oncommand="RenameProfile();"/>
      <button id="delbutton" label="&deleteButton.label;"
              accesskey="&deleteButton.accesskey;" oncommand="ConfirmDelete();"/>
    </vbox>
    
    <separator flex="1"/>

    <vbox flex="1">
      <listbox id="profiles" rows="5" seltype="single"
               ondblclick="onProfilesDblClick(event)"
               onkeypress="onProfilesKey(event);">
      </listbox>

      <!-- Bug 257777 -->
      <checkbox id="offlineState" label="&offlineState.label;" accesskey="&offlineState.accesskey;"/> 

      <checkbox id="autoSelectLastProfile" label="&useSelected.label;"
                accesskey="&useSelected.accesskey;"/> 
    </vbox>

  </hbox>
</dialog>