diff options
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | embed/mozilla/ExternalProtocolService.cpp | 6 |
2 files changed, 13 insertions, 3 deletions
@@ -1,3 +1,13 @@ +2003-09-17 Christian Persch <chpe@cvs.gnome.org> + + * embed/mozilla/ExternalProtocolService.cpp: + + Re-revert, use new gnome vfs show_url api. + + * configure.in: + + Depend on appropriate gnome-vfs version. + 2003-09-17 Marco Pesenti Gritti <marco@gnome.org> * src/prefs-dialog.c: (setup_size_controls): diff --git a/embed/mozilla/ExternalProtocolService.cpp b/embed/mozilla/ExternalProtocolService.cpp index be5dfdee2..e16ac0e63 100644 --- a/embed/mozilla/ExternalProtocolService.cpp +++ b/embed/mozilla/ExternalProtocolService.cpp @@ -23,7 +23,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> @@ -104,7 +104,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; } @@ -145,7 +145,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 |