use new get-password dialog

git-svn-id: svn://10.0.0.236/trunk@35081 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
morse%netscape.com
1999-06-13 17:25:35 +00:00
parent 8f094cf52a
commit 3142059e02

View File

@@ -444,13 +444,7 @@ char * wallet_GetString(char * szMessage) {
}
if (dialog) {
const nsString message = szMessage;
#ifdef xxx
dialog->PromptPassword(message, password, &retval);
#else
/* temporary until PromptPassword is implemented */
nsString username;
dialog->PromptUserAndPassword(message, username, password, &retval);
#endif
}
nsServiceManager::ReleaseService(kNetSupportDialogCID, dialog);
if (retval) {
@@ -2197,7 +2191,9 @@ WLLT_OKToCapture(PRBool * result, PRInt32 count, char* urlName) {
if (wallet_GetFormsCapturingPref() && (count>=3)) {
char * message = Wallet_Localize("WantToCaptureForm?");
char * checkMessage = Wallet_Localize("NeverSave");
PRBool checkValue = PR_FALSE;
PRBool checkValue;
// PRBool checkValue = PR_FALSE;
// *result = Wallet_Confirm(message);
*result = Wallet_CheckConfirm(message, checkMessage, &checkValue);
if (!(*result)) {
if (checkValue) {