Bug 390025 - "Move to LoginManager and remove wallet from SeaMonkey" - password preferences. [r+sr=neil]

This commit is contained in:
Robert Kaiser 2009-01-15 17:55:33 +00:00
Родитель 13fccb8502
Коммит 7ceb0770b0
5 изменённых файлов: 16 добавлений и 78 удалений

Просмотреть файл

@ -184,6 +184,7 @@ comm.jar:
content/communicator/pref/pref-navigator.js (pref/pref-navigator.js)
content/communicator/pref/pref-navigator.xul (pref/pref-navigator.xul)
content/communicator/pref/pref-offline.xul (pref/pref-offline.xul)
content/communicator/pref/pref-passwords.xul (pref/pref-passwords.xul)
content/communicator/pref/pref-policies.xul (pref/pref-policies.xul)
content/communicator/pref/pref-popups.js (pref/pref-popups.js)
content/communicator/pref/pref-popups.xul (pref/pref-popups.xul)
@ -199,8 +200,6 @@ comm.jar:
content/communicator/pref/pref-smartupdate.js (pref/pref-smartupdate.js)
content/communicator/pref/pref-smartupdate.xul (pref/pref-smartupdate.xul)
content/communicator/pref/pref-tabs.xul (pref/pref-tabs.xul)
content/communicator/pref/pref-passwords.xul (pref/pref-passwords.xul)
content/communicator/pref/pref-passwords.js (pref/pref-passwords.js)
content/communicator/profile/profileSelection.js (profile/profileSelection.js)
content/communicator/profile/profileSelection.xul (profile/profileSelection.xul)
content/communicator/search/internetresults.js (search/internetresults.js)

Просмотреть файл

@ -59,10 +59,14 @@
title="&windowtitle.label;"
persist="width height screenX screenY">
<script src="chrome://passwordmgr/content/passwordManagerCommon.js"/>
<script src="chrome://passwordmgr/content/passwordManager.js"/>
<script src="chrome://passwordmgr/content/passwordManagerExceptions.js"/>
<script src="chrome://help/content/contextHelp.js"/>
<script type="application/javascript"
src="chrome://passwordmgr/content/passwordManagerCommon.js"/>
<script type="application/javascript"
src="chrome://passwordmgr/content/passwordManager.js"/>
<script type="application/javascript"
src="chrome://passwordmgr/content/passwordManagerExceptions.js"/>
<script type="application/javascript"
src="chrome://help/content/contextHelp.js"/>
<stringbundle id="signonBundle"
src="chrome://passwordmgr/locale/passwordmgr.properties"/>
@ -78,14 +82,17 @@
<vbox id="savedsignons" flex="1">
<!-- filter -->
<hbox align="center">
<label accesskey="&filter.accesskey;" control="filter">&filter.label;</label>
<label value="&filter.label;" accesskey="&filter.accesskey;"
control="filter"/>
<textbox id="filter" flex="1" type="search"
oncommand="_filterPasswords();"/>
</hbox>
<separator class="thin"/>
<description control="signonsTree" id="signonsIntro"/>
<separator class="thin"/>
<tree id="signonsTree" flex="1" style="height: 20em;" hidecolumnpicker="true"
<tree id="signonsTree" flex="1"
style="height: 20em;" hidecolumnpicker="true"
onkeypress="HandleSignonKeyPress(event)"
onselect="SignonSelected();">
<treecols>

Просмотреть файл

@ -1,49 +0,0 @@
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** 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.org code.
*
* The Initial Developer of the Original Code is
* the mozilla.org SeaMonkey project.
* Portions created by the Initial Developer are Copyright (C) 2008
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Manuel Reimer <Manuel.Reimer@gmx.de>
*
* Alternatively, the contents of this file may be used under the terms of
* either 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 ***** */
function Startup()
{
Components.classes['@mozilla.org/wallet/wallet-service;1']
.getService(Components.interfaces.nsIWalletService)
.WALLET_InitReencryptCallback(window);
}
function ViewSignons()
{
window.openDialog("chrome://communicator/content/wallet/SignonViewer.xul","_blank","chrome,resizable=yes", "S");
}

Просмотреть файл

@ -48,7 +48,7 @@
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<prefpane id="passwords_pane"
label="&pref.passwords.title;"
script="chrome://communicator/content/pref/pref-passwords.js">
script="chrome://communicator/content/tasksOverlay.js chrome://communicator/content/pref/pref-passwords.js">
<preferences id="passwords_preferences">
<preference id="signon.rememberSignons"
@ -57,9 +57,6 @@
<preference id="pref.advanced.password.disable_button.view_stored_password"
name="pref.advanced.password.disable_button.view_stored_password"
type="bool"/>
<preference id="wallet.crypto"
name="wallet.crypto"
type="bool"/>
</preferences>
<groupbox>
@ -75,21 +72,10 @@
<button id="viewStoredPassword"
label="&viewSignons.label;"
accesskey="&viewSignons.accesskey;"
oncommand="ViewSignons();"
oncommand="toPasswordManager();"
preference="pref.advanced.password.disable_button.view_stored_password"/>
</hbox>
</groupbox>
<groupbox>
<caption label="&encryptHeader.caption;"/>
<description flex="1">&encryptDescription.label;</description>
<vbox align="start">
<checkbox id="encryptEnabled"
label="&encryptEnabled.label;"
accesskey="&encryptEnabled.accesskey;"
preference="wallet.crypto"/>
</vbox>
</groupbox>
</prefpane>
</overlay>

Просмотреть файл

@ -7,8 +7,3 @@
<!ENTITY signonEnabled.accesskey "R">
<!ENTITY viewSignons.label "Manage Stored Passwords">
<!ENTITY viewSignons.accesskey "M">
<!ENTITY encryptHeader.caption "Encrypting versus Obscuring">
<!ENTITY encryptDescription.label "Sensitive data that is stored on your hard disk can be encrypted to prevent the data from being read by an intruder. A password is used to access the data.">
<!ENTITY encryptEnabled.label "Use encryption when storing sensitive data.">
<!ENTITY encryptEnabled.accesskey "U">