aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--embed/mozilla/EphyHeaderSniffer.cpp15
2 files changed, 10 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index 40cc9b3f2..05610ebdf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
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.
+
+2003-10-18 Marco Pesenti Gritti <marco@gnome.org>
+
* embed/mozilla/MozDownload.cpp:
initialize cur/total size
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);
}