aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-09-30 03:32:19 +0800
committerChristian Persch <chpe@src.gnome.org>2006-09-30 03:32:19 +0800
commit7c047b3fec6edd5b208e0c45b6f60f83b5d0e8ab (patch)
treee11b193e718ed536e728cdcfa70331f82435bcea
parent2f82409c7697e94ac001e4b0a4266e5357ac4ae7 (diff)
downloadgsoc2013-epiphany-7c047b3fec6edd5b208e0c45b6f60f83b5d0e8ab.tar
gsoc2013-epiphany-7c047b3fec6edd5b208e0c45b6f60f83b5d0e8ab.tar.gz
gsoc2013-epiphany-7c047b3fec6edd5b208e0c45b6f60f83b5d0e8ab.tar.bz2
gsoc2013-epiphany-7c047b3fec6edd5b208e0c45b6f60f83b5d0e8ab.tar.lz
gsoc2013-epiphany-7c047b3fec6edd5b208e0c45b6f60f83b5d0e8ab.tar.xz
gsoc2013-epiphany-7c047b3fec6edd5b208e0c45b6f60f83b5d0e8ab.tar.zst
gsoc2013-epiphany-7c047b3fec6edd5b208e0c45b6f60f83b5d0e8ab.zip
Add smb: to recognised web schemes. Bug #352733.
2006-09-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Add smb: to recognised web schemes. Bug #352733.
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/EventContext.cpp3
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c5a4dafa3..fca04ac72 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2006-09-29 Christian Persch <chpe@cvs.gnome.org>
+ * embed/mozilla/EventContext.cpp:
+
+ Add smb: to recognised web schemes. Bug #352733.
+
+2006-09-29 Christian Persch <chpe@cvs.gnome.org>
+
* lib/widgets/ephy-spinner.c: (ephy_spinner_images_free),
(ephy_spinner_cache_data_unload), (scale_to_size),
(ephy_spinner_images_load), (ephy_spinner_cache_data_new),
diff --git a/embed/mozilla/EventContext.cpp b/embed/mozilla/EventContext.cpp
index b28d4f1b4..f1cac9552 100644
--- a/embed/mozilla/EventContext.cpp
+++ b/embed/mozilla/EventContext.cpp
@@ -935,6 +935,9 @@ nsresult EventContext::CheckLinkScheme (const nsAString &link)
g_ascii_strcasecmp (scheme.get(), "https") == 0 ||
g_ascii_strcasecmp (scheme.get(), "ftp") == 0 ||
g_ascii_strcasecmp (scheme.get(), "file") == 0 ||
+ g_ascii_strcasecmp (scheme.get(), "smb") == 0 ||
+ g_ascii_strcasecmp (scheme.get(), "sftp") == 0 ||
+ g_ascii_strcasecmp (scheme.get(), "ssh") == 0 ||
g_ascii_strcasecmp (scheme.get(), "data") == 0 ||
g_ascii_strcasecmp (scheme.get(), "resource") == 0 ||
g_ascii_strcasecmp (scheme.get(), "about") == 0 ||