aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EventContext.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-06-05 17:41:42 +0800
committerChristian Persch <chpe@src.gnome.org>2005-06-05 17:41:42 +0800
commitefcd0960fd775cb262f852f79edfcbbd75a33849 (patch)
treea6fb47e7495b94a97043cbf4888f6e5999ec8353 /embed/mozilla/EventContext.cpp
parentcbf7d80c5be648d7d7610c5f63d31e8e84995d5d (diff)
downloadgsoc2013-epiphany-efcd0960fd775cb262f852f79edfcbbd75a33849.tar
gsoc2013-epiphany-efcd0960fd775cb262f852f79edfcbbd75a33849.tar.gz
gsoc2013-epiphany-efcd0960fd775cb262f852f79edfcbbd75a33849.tar.bz2
gsoc2013-epiphany-efcd0960fd775cb262f852f79edfcbbd75a33849.tar.lz
gsoc2013-epiphany-efcd0960fd775cb262f852f79edfcbbd75a33849.tar.xz
gsoc2013-epiphany-efcd0960fd775cb262f852f79edfcbbd75a33849.tar.zst
gsoc2013-epiphany-efcd0960fd775cb262f852f79edfcbbd75a33849.zip
Version 1.7.1.Release171
2005-06-05 Christian Persch <chpe@cvs.gnome.org> Version 1.7.1. * Makefile.am: Add --enable-python to distcheck configure flags. * NEWS: * configure.ac: Updated for version 1.7.1. * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EventContext.cpp: Fix warnings. * src/ephy-extensions-manager.c: (get_loader_for_type), (load_extension): Fix --disable-python case. * src/Makefile.am: Fix make distcheck.
Diffstat (limited to 'embed/mozilla/EventContext.cpp')
-rw-r--r--embed/mozilla/EventContext.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/embed/mozilla/EventContext.cpp b/embed/mozilla/EventContext.cpp
index 76da99c8c..04e1c1022 100644
--- a/embed/mozilla/EventContext.cpp
+++ b/embed/mozilla/EventContext.cpp
@@ -985,7 +985,9 @@ nsresult EventContext::SetURIProperty (nsIDOMNode *node, const char *name, const
if (NS_SUCCEEDED (rv) && uri)
{
/* Hide password part */
- uri->SetPassword (nsEmbedCString());
+ nsEmbedCString user;
+ uri->GetUsername (user);
+ uri->SetUserPass (user);
nsEmbedCString spec;
uri->GetSpec (spec);