diff options
author | Josselin Mouette <jmouette@src.gnome.org> | 2008-06-21 19:24:43 +0800 |
---|---|---|
committer | Josselin Mouette <jmouette@src.gnome.org> | 2008-06-21 19:24:43 +0800 |
commit | bf744b454eb1b409d6d5000ef4decb1e9aed3b2f (patch) | |
tree | fd6157e2198f6f59734041b7d743a9d6ea997097 /embed/mozilla/EphyPromptService.cpp | |
parent | bdd113a5b1a4607802719f9b3f1fc9b299d3dc0b (diff) | |
download | gsoc2013-epiphany-bf744b454eb1b409d6d5000ef4decb1e9aed3b2f.tar gsoc2013-epiphany-bf744b454eb1b409d6d5000ef4decb1e9aed3b2f.tar.gz gsoc2013-epiphany-bf744b454eb1b409d6d5000ef4decb1e9aed3b2f.tar.bz2 gsoc2013-epiphany-bf744b454eb1b409d6d5000ef4decb1e9aed3b2f.tar.lz gsoc2013-epiphany-bf744b454eb1b409d6d5000ef4decb1e9aed3b2f.tar.xz gsoc2013-epiphany-bf744b454eb1b409d6d5000ef4decb1e9aed3b2f.tar.zst gsoc2013-epiphany-bf744b454eb1b409d6d5000ef4decb1e9aed3b2f.zip |
Fix the string names to obtain the proxy login prompt when using Gecko
1.9. Thanks Mike Hommey. Closes: #539417.
svn path=/branches/gnome-2-22/; revision=8286
Diffstat (limited to 'embed/mozilla/EphyPromptService.cpp')
-rw-r--r-- | embed/mozilla/EphyPromptService.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/embed/mozilla/EphyPromptService.cpp b/embed/mozilla/EphyPromptService.cpp index 58d5a9b6c..fea6345a7 100644 --- a/embed/mozilla/EphyPromptService.cpp +++ b/embed/mozilla/EphyPromptService.cpp @@ -995,8 +995,13 @@ MakeDialogText(nsIChannel* aChannel, nsIAuthInformation* aAuthInfo, displayHost.AppendInt(port); } +#ifdef HAVE_GECKO_1_9 + NS_NAMED_LITERAL_STRING(proxyText, "EnterLoginForProxy"); + NS_NAMED_LITERAL_STRING(originText, "EnterLoginForRealm"); +#else NS_NAMED_LITERAL_STRING(proxyText, "EnterUserPasswordForProxy"); NS_NAMED_LITERAL_STRING(originText, "EnterUserPasswordForRealm"); +#endif /* HAVE_GECKO_1_9 */ NS_NAMED_LITERAL_STRING(noRealmText, "EnterUserPasswordFor"); NS_NAMED_LITERAL_STRING(passwordText, "EnterPasswordFor"); |