From 1044f92a19ab225a74e7829561cfe1733aee6913 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 12 May 2003 18:04:58 +0000 Subject: Use new gnome vfs show_url api. 2003-05-12 Marco Pesenti Gritti * embed/mozilla/ExternalProtocolService.cpp: Use new gnome vfs show_url api. * embed/mozilla/MozRegisterComponents.cpp: Register external protocols ! * embed/mozilla/mozilla-embed-single.cpp: Check that the ftp handler is not epiphany, to avoid infinite loop. --- embed/mozilla/ExternalProtocolService.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'embed/mozilla/ExternalProtocolService.cpp') diff --git a/embed/mozilla/ExternalProtocolService.cpp b/embed/mozilla/ExternalProtocolService.cpp index 9d9a7368c..e5213c971 100644 --- a/embed/mozilla/ExternalProtocolService.cpp +++ b/embed/mozilla/ExternalProtocolService.cpp @@ -19,7 +19,7 @@ #include #include #include -#include +#include #include #include @@ -100,7 +100,7 @@ NS_IMETHODIMP GExternalProtocolService::LoadUrl(nsIURI *aURL) char *result = eel_gconf_get_string(key.get()); if (result) { - gnome_url_show(cSpec.get(), NULL); + gnome_vfs_url_show(cSpec.get()); g_free (result); return NS_OK; } @@ -141,7 +141,7 @@ NS_IMETHODIMP GExternalProtocolService::LoadUrl(nsIURI *aURL) if (ret == 0) { - gnome_url_show(cSpec.get(), NULL); + gnome_vfs_url_show(cSpec.get()); return NS_OK; } else -- cgit v1.2.3