mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 395038 - Add "Not Now" button to save password notification bar. r=gavin, ui-r=beltzner, a1.9=schrep
This commit is contained in:
parent
24fbf5fb3f
commit
cc205a52b6
@ -338,6 +338,10 @@ LoginManagerPrompter.prototype = {
|
||||
this._getLocalizedString("notifyBarRememberButtonText");
|
||||
var rememberButtonAccessKey =
|
||||
this._getLocalizedString("notifyBarRememberButtonAccessKey");
|
||||
var notNowButtonText =
|
||||
this._getLocalizedString("notifyBarNotNowButtonText");
|
||||
var notNowButtonAccessKey =
|
||||
this._getLocalizedString("notifyBarNotNowButtonAccessKey");
|
||||
|
||||
var brandShortName =
|
||||
this._brandBundle.GetStringFromName("brandShortName");
|
||||
@ -369,9 +373,15 @@ LoginManagerPrompter.prototype = {
|
||||
callback: function(aNotificationBar, aButton) {
|
||||
pwmgr.setLoginSavingEnabled(aLogin.hostname, false);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
// "Not now" button not needed, as notification bar isn't modal.
|
||||
// "Not now" button
|
||||
{
|
||||
label: notNowButtonText,
|
||||
accessKey: notNowButtonAccessKey,
|
||||
popup: null,
|
||||
callback: function() { /* NOP */ }
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
|
@ -41,6 +41,8 @@ rememberPassword = Use Password Manager to remember this password.
|
||||
savePasswordTitle = Confirm
|
||||
savePasswordText = Do you want %S to remember this password?
|
||||
notNowButtonText = &Not Now
|
||||
notifyBarNotNowButtonText = Not Now
|
||||
notifyBarNotNowButtonAccessKey = N
|
||||
neverForSiteButtonText = Ne&ver for This Site
|
||||
notifyBarNeverForSiteButtonText = Never for This Site
|
||||
notifyBarNeverForSiteButtonAccessKey = e
|
||||
|
Loading…
Reference in New Issue
Block a user