diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | embed/mozilla/mozilla-embed-single.cpp | 15 |
2 files changed, 11 insertions, 12 deletions
@@ -1,3 +1,11 @@ +2004-06-08 Marco Pesenti Gritti <marco@gnome.org> + + * data/default-prefs.js: + * embed/mozilla/mozilla-embed-single.cpp: + + Move external protocols prefs defaults in + the javascript file and add webcal (Bug #143899) + 2004-06-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/FilePicker.cpp: diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index 5e8fb8cb8..522767150 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -217,18 +217,9 @@ mozilla_set_default_prefs (MozillaEmbedSingle *mes) pref->SetCharPref ("general.useragent.vendor", "Epiphany"); pref->SetCharPref ("general.useragent.vendorSub", VERSION); - /* Make sure that Mozilla does not handle these protocols internally */ - pref->SetBoolPref("network.protocol-handler.external.news", TRUE); - pref->SetBoolPref("network.protocol-handler.external.mailto", TRUE); - pref->SetBoolPref("network.protocol-handler.external.irc", TRUE); - if (have_gnome_url_handler ("ftp")) - { - pref->SetBoolPref("network.protocol-handler.external.ftp", TRUE); - } - else - { - pref->SetBoolPref("network.protocol-handler.external.ftp", FALSE); - } + /* Open ftp uris with an external handler if one is setup */ + pref->SetBoolPref("network.protocol-handler.external.ftp", + have_gnome_url_handler ("ftp")); return TRUE; } |