epiphany r8286 - branches/gnome-2-22/embed/mozilla



Author: jmouette
Date: Sat Jun 21 11:24:43 2008
New Revision: 8286
URL: http://svn.gnome.org/viewvc/epiphany?rev=8286&view=rev

Log:
Fix the string names to obtain the proxy login prompt when using Gecko 
1.9. Thanks Mike Hommey. Closes: #539417.


Modified:
   branches/gnome-2-22/embed/mozilla/EphyPromptService.cpp

Modified: branches/gnome-2-22/embed/mozilla/EphyPromptService.cpp
==============================================================================
--- branches/gnome-2-22/embed/mozilla/EphyPromptService.cpp	(original)
+++ branches/gnome-2-22/embed/mozilla/EphyPromptService.cpp	Sat Jun 21 11:24:43 2008
@@ -995,8 +995,13 @@
     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");
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]