mailnews/base/prefs/resources/content/am-identities-list.xul
author Karsten Düsterloh <mnyromyr@tprac.de>
Fri, 19 Jun 2009 23:35:33 +0200
changeset 2895 6f5baa0cddd240bb7c0ecc6e9f57e78adc94b90a
parent 0 e4f4569d451a5e0d12a6aa33ebd916f979dd8faa
permissions -rw-r--r--
Merge for rev. 2894

<?xml version="1.0"?>

<?xml-stylesheet href="chrome://messenger/skin/messenger.css" type="text/css"?>

<!-- ***** BEGIN LICENSE BLOCK *****
 Version: MPL 1.1/GPL 2.0/LGPL 2.1

 The contents of this file are subject to the Mozilla Public License Version
 1.1 (the "License"); you may not use this file except in compliance with
 the License. You may obtain a copy of the License at
 http://www.mozilla.org/MPL/

 Software distributed under the License is distributed on an "AS IS" basis,
 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 for the specific language governing rights and limitations under the
 License.

 The Original Code is Mozilla Mail Code.

 The Initial Developer of the Original Code is
 David Bienvenu.
 Portions created by the Initial Developer are Copyright (C) 2004
 the Initial Developer. All Rights Reserved.
 
 Contributor(s):
   Scott MacGregor <mscott@mozilla.org>

 Alternatively, the contents of this file may be used under the terms of
 either of the GNU General Public License Version 2 or later (the "GPL"),
 or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 in which case the provisions of the GPL or the LGPL are applicable instead
 of those above. If you wish to allow use of your version of this file only
 under the terms of either the GPL or the LGPL, and not to allow others to
 use your version of this file under the terms of the MPL, indicate your
 decision by deleting the provisions above and replace them with the notice
 and other provisions required by the GPL or the LGPL. If you do not delete
 the provisions above, a recipient may use your version of this file under
 the terms of any one of the MPL, the GPL or the LGPL.

 ***** END LICENSE BLOCK ***** -->

<!DOCTYPE dialog SYSTEM "chrome://messenger/locale/am-identities-list.dtd">

<dialog 
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  onload="onLoad();"
  buttons="accept"
  ondialogaccept="return onOk();"
  style="width: 40em;">

<stringbundle id="bundle_prefs" src="chrome://messenger/locale/prefs.properties"/>
<script type="application/x-javascript" src="am-identities-list.js"/>

<label control="identitiesList" flex="1">&identitiesListDesc.label;</label>

<separator class="thin"/>

<hbox>
  <listbox id="identitiesList" ondblclick="onEdit(event);" onselect="updateButtons();" flex="1" style="height: 0px;"/>

  <vbox>
    <button id="addButton"
            oncommand="openIdentityEditor(null);" label="&identitiesListAdd.label;"
            accesskey="&identitiesListAdd.accesskey;"/>
    <button id="editButton" disabled="true"
            oncommand="onEdit(event);" label="&identitiesListEdit.label;"
            accesskey="&identitiesListEdit.accesskey;"/>
    <button id="deleteButton" disabled="true"
            oncommand="onDelete(event);" label="&identitiesListDelete.label;"
            accesskey="&identitiesListDelete.accesskey;"/>
  </vbox>
</hbox>

</dialog>