aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--embed/mozilla/EventContext.cpp7
-rw-r--r--src/ephy-tab.c1
3 files changed, 12 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 45b8ac164..e5fbcd131 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2004-01-21 Christian Persch <chpe@cvs.gnome.org>
+ * embed/mozilla/EventContext.cpp:
+ * src/ephy-tab.c: (address_has_web_scheme):
+
+ about: can be opened in new tab too.
+
+2004-01-21 Christian Persch <chpe@cvs.gnome.org>
+
* embed/mozilla/mozilla-embed-single.cpp:
Re-enable fonts language font filtering, fixes bug #128814
diff --git a/embed/mozilla/EventContext.cpp b/embed/mozilla/EventContext.cpp
index 3bfa2d97d..e8705e9d5 100644
--- a/embed/mozilla/EventContext.cpp
+++ b/embed/mozilla/EventContext.cpp
@@ -817,10 +817,11 @@ nsresult EventContext::CheckLinkScheme (const nsAString &link)
rv = uri->GetScheme (scheme);
if (NS_FAILED (rv)) return NS_ERROR_FAILURE;
- if (scheme.EqualsIgnoreCase ("http") ||
+ if (scheme.EqualsIgnoreCase ("http") ||
scheme.EqualsIgnoreCase ("https") ||
- scheme.EqualsIgnoreCase ("ftp") ||
- scheme.EqualsIgnoreCase ("file") ||
+ scheme.EqualsIgnoreCase ("ftp") ||
+ scheme.EqualsIgnoreCase ("file") ||
+ scheme.EqualsIgnoreCase ("about") ||
scheme.EqualsIgnoreCase ("gopher"))
{
SetIntProperty ("link-has-web-scheme", TRUE);
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index 4d027df27..c7d4376a6 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -412,6 +412,7 @@ address_has_web_scheme (const char *address)
strcmp (scheme, "https") == 0 ||
strcmp (scheme, "ftp") == 0 ||
strcmp (scheme, "file") == 0 ||
+ strcmp (scheme, "about") == 0 ||
strcmp (scheme, "gopher") == 0);
gnome_vfs_uri_unref (uri);