aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-10-18 23:50:36 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-10-18 23:50:36 +0800
commit8a90973ba893d84946c898f137fd2efb3ced96ac (patch)
tree36a81d9f515d5c6801dc1277934578f00ecbd317 /embed/mozilla
parent87aea2e047c3b6b4c3c074b2c420755addeae9fc (diff)
downloadgsoc2013-epiphany-8a90973ba893d84946c898f137fd2efb3ced96ac.tar
gsoc2013-epiphany-8a90973ba893d84946c898f137fd2efb3ced96ac.tar.gz
gsoc2013-epiphany-8a90973ba893d84946c898f137fd2efb3ced96ac.tar.bz2
gsoc2013-epiphany-8a90973ba893d84946c898f137fd2efb3ced96ac.tar.lz
gsoc2013-epiphany-8a90973ba893d84946c898f137fd2efb3ced96ac.tar.xz
gsoc2013-epiphany-8a90973ba893d84946c898f137fd2efb3ced96ac.tar.zst
gsoc2013-epiphany-8a90973ba893d84946c898f137fd2efb3ced96ac.zip
Looks like I copied a bug from mozilla js code. Do not show bogus
2003-10-18 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: Looks like I copied a bug from mozilla js code. Do not show bogus checkbox.
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/EphyHeaderSniffer.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/embed/mozilla/EphyHeaderSniffer.cpp b/embed/mozilla/EphyHeaderSniffer.cpp
index 78135fe35..407967b87 100644
--- a/embed/mozilla/EphyHeaderSniffer.cpp
+++ b/embed/mozilla/EphyHeaderSniffer.cpp
@@ -257,37 +257,28 @@ NS_IMETHODIMP EphyHeaderSniffer::Prompt (const PRUnichar *dialogTitle, const PRU
const PRUnichar *passwordRealm, PRUint32 savePassword,
const PRUnichar *defaultText, PRUnichar **result, PRBool *_retval)
{
- PRBool checkValue;
-
if (defaultText) *result = ToNewUnicode(nsDependentString(defaultText));
- checkValue = savePassword;
return mPrompt->Prompt (nsnull, dialogTitle, text, result,
- passwordRealm, &checkValue, _retval);
+ nsnull, nsnull, _retval);
}
NS_IMETHODIMP EphyHeaderSniffer::PromptUsernameAndPassword (const PRUnichar *dialogTitle, const PRUnichar *text,
const PRUnichar *passwordRealm, PRUint32 savePassword,
PRUnichar **user, PRUnichar **pwd, PRBool *_retval)
{
- PRBool checkValue;
-
*_retval = savePassword;
- checkValue = savePassword;
return mPrompt->PromptUsernameAndPassword (nsnull, dialogTitle, text, user, pwd,
- passwordRealm, &checkValue, _retval);
+ nsnull, nsnull, _retval);
}
NS_IMETHODIMP EphyHeaderSniffer::PromptPassword (const PRUnichar *dialogTitle, const PRUnichar *text,
const PRUnichar *passwordRealm, PRUint32 savePassword,
PRUnichar **pwd, PRBool *_retval)
{
- PRBool checkValue;
-
*_retval = savePassword;
- checkValue = savePassword;
return mPrompt->PromptPassword (nsnull, dialogTitle, text, pwd,
- passwordRealm, &checkValue, _retval);
+ nsnull, nsnull, _retval);
}