From bc64b59f58805ac6a8ec656e23a259b5165f4bc1 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sat, 20 Aug 2005 22:27:41 +0000 Subject: Don't use ext handler for ftp://. 2005-08-21 Christian Persch * data/default-prefs-common.js: * embed/mozilla/mozilla-embed-single.cpp: Don't use ext handler for ftp://. --- ChangeLog | 7 +++++++ data/default-prefs-common.js | 1 + embed/mozilla/mozilla-embed-single.cpp | 3 +-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b5be865f8..7e7e6d1cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-08-21 Christian Persch + + * data/default-prefs-common.js: + * embed/mozilla/mozilla-embed-single.cpp: + + Don't use ext handler for ftp://. + 2005-08-21 Christian Persch * lib/ephy-file-helpers.c: (ephy_file_launch_handler): diff --git a/data/default-prefs-common.js b/data/default-prefs-common.js index b24025d6f..f95884b97 100644 --- a/data/default-prefs-common.js +++ b/data/default-prefs-common.js @@ -99,6 +99,7 @@ pref("font.size.variable.x-unicode", 11); pref("font.size.variable.x-western", 11); // protocols +pref("network.protocol-handler.external.ftp", false); pref("network.protocol-handler.external.news", true); pref("network.protocol-handler.external.mailto", true); pref("network.protocol-handler.external.irc", true); diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index 9d90d0626..507291a4b 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -250,8 +250,7 @@ mozilla_set_default_prefs (MozillaEmbedSingle *mes) #endif /* Open ftp uris with an external handler if one is setup */ - pref->SetBoolPref("network.protocol-handler.external.ftp", - have_gnome_url_handler ("ftp")); + pref->SetBoolPref ("network.protocol-handler.external.ftp", PR_FALSE); return TRUE; } -- cgit v1.2.3