aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-12-13 06:22:19 +0800
committerChristian Persch <chpe@src.gnome.org>2004-12-13 06:22:19 +0800
commit0912cf63ef6b9462f6677a59a1d0c99d14c39e93 (patch)
tree67ed49b1f98f95c17e3036bd1e5a576a4e9ea578
parentad0e40ea9372a00fa040bd061c05580792e0f246 (diff)
downloadgsoc2013-epiphany-0912cf63ef6b9462f6677a59a1d0c99d14c39e93.tar
gsoc2013-epiphany-0912cf63ef6b9462f6677a59a1d0c99d14c39e93.tar.gz
gsoc2013-epiphany-0912cf63ef6b9462f6677a59a1d0c99d14c39e93.tar.bz2
gsoc2013-epiphany-0912cf63ef6b9462f6677a59a1d0c99d14c39e93.tar.lz
gsoc2013-epiphany-0912cf63ef6b9462f6677a59a1d0c99d14c39e93.tar.xz
gsoc2013-epiphany-0912cf63ef6b9462f6677a59a1d0c99d14c39e93.tar.zst
gsoc2013-epiphany-0912cf63ef6b9462f6677a59a1d0c99d14c39e93.zip
Back out the fix for bug #158466, it's wrong.
2004-12-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Back out the fix for bug #158466, it's wrong. * embed/mozilla/EphyBrowser.h: Fix compile in !MOZILLA_HAVE_PSM case.
-rw-r--r--ChangeLog10
-rw-r--r--embed/mozilla/ContentHandler.cpp3
-rw-r--r--embed/mozilla/EphyBrowser.h4
3 files changed, 14 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 0c4423602..85d52de31 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2004-12-12 Christian Persch <chpe@cvs.gnome.org>
+
+ * embed/mozilla/ContentHandler.cpp:
+
+ Back out the fix for bug #158466, it's wrong.
+
+ * embed/mozilla/EphyBrowser.h:
+
+ Fix compile in !MOZILLA_HAVE_PSM case.
+
2004-12-06 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-window.c: (ephy_window_destroy):
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp
index 8a15b39e6..1922e2497 100644
--- a/embed/mozilla/ContentHandler.cpp
+++ b/embed/mozilla/ContentHandler.cpp
@@ -339,8 +339,7 @@ NS_METHOD GContentHandler::MIMEDoAction (void)
mLauncher->GetMIMEInfo(getter_AddRefs(mimeInfo));
NS_ENSURE_TRUE (mimeInfo, NS_ERROR_FAILURE);
- if (mAction == CONTENT_ACTION_OPEN ||
- mAction == CONTENT_ACTION_OPEN_TMP)
+ if (mAction == CONTENT_ACTION_OPEN)
{
nsEmbedString desc;
diff --git a/embed/mozilla/EphyBrowser.h b/embed/mozilla/EphyBrowser.h
index 925aeff88..b61a88ec1 100644
--- a/embed/mozilla/EphyBrowser.h
+++ b/embed/mozilla/EphyBrowser.h
@@ -156,11 +156,13 @@ private:
nsCOMPtr<nsIDOMDocument> mTargetDocument;
nsCOMPtr<nsIDOMEventTarget> mEventTarget;
nsCOMPtr<nsIDOMWindow> mDOMWindow;
- nsCOMPtr<nsISecureBrowserUI> mSecurityInfo;
EphyFaviconEventListener *mFaviconEventListener;
EphyPopupBlockEventListener *mPopupBlockEventListener;
EphyModalAlertEventListener *mModalAlertListener;
PRBool mInitialized;
+#ifdef HAVE_MOZILLA_PSM
+ nsCOMPtr<nsISecureBrowserUI> mSecurityInfo;
+#endif
nsresult GetListener (void);
nsresult AttachListeners (void);