aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/ExternalProtocolService.cpp
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-05-13 02:04:58 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-05-13 02:04:58 +0800
commit1044f92a19ab225a74e7829561cfe1733aee6913 (patch)
tree21350a323dbc696acfbfc7ffbae8b0eff9faeac7 /embed/mozilla/ExternalProtocolService.cpp
parent125882e6f5591567b75b377a89b4127ed7c55f6e (diff)
downloadgsoc2013-epiphany-1044f92a19ab225a74e7829561cfe1733aee6913.tar.gz
gsoc2013-epiphany-1044f92a19ab225a74e7829561cfe1733aee6913.tar.zst
gsoc2013-epiphany-1044f92a19ab225a74e7829561cfe1733aee6913.zip
Use new gnome vfs show_url api.
2003-05-12 Marco Pesenti Gritti <marco@it.gnome.org> * 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.
Diffstat (limited to 'embed/mozilla/ExternalProtocolService.cpp')
-rw-r--r--embed/mozilla/ExternalProtocolService.cpp6
1 files changed, 3 insertions, 3 deletions
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 <gtk/gtk.h>
#include <libgnome/gnome-exec.h>
#include <libgnome/gnome-i18n.h>
-#include <libgnome/gnome-url.h>
+#include <libgnomevfs/gnome-vfs-utils.h>
#include <nsString.h>
#include <nsXPIDLString.h>
@@ -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