aboutsummaryrefslogtreecommitdiffstats
path: root/embed
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
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')
-rw-r--r--embed/mozilla/EphyBrowser.cpp6
-rw-r--r--embed/mozilla/EventContext.cpp4
2 files changed, 7 insertions, 3 deletions
diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp
index 56d4932d3..023350fce 100644
--- a/embed/mozilla/EphyBrowser.cpp
+++ b/embed/mozilla/EphyBrowser.cpp
@@ -219,9 +219,11 @@ EphyDOMLinkEventListener::HandleEvent (nsIDOMEvent* aDOMEvent)
NS_ENSURE_SUCCESS (rv, NS_ERROR_FAILURE);
if (!shouldLoad) return NS_OK;
#endif
-
+
/* Hide password part */
- favUri->SetPassword (nsEmbedCString ());
+ nsEmbedCString user;
+ favUri->GetUsername (user);
+ favUri->SetUserPass (user);
nsEmbedCString spec;
favUri->GetSpec (spec);
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);