aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-05-14 02:22:35 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-05-14 02:22:35 +0800
commit1730a037daf5c370cc61bf8babd5c40fd816ef8a (patch)
treef41f5f0fbd65bdec6cca4683ec9671442863f876 /embed
parent704e1716a071203b9eb81be8f525eab008d2f547 (diff)
downloadgsoc2013-epiphany-1730a037daf5c370cc61bf8babd5c40fd816ef8a.tar
gsoc2013-epiphany-1730a037daf5c370cc61bf8babd5c40fd816ef8a.tar.gz
gsoc2013-epiphany-1730a037daf5c370cc61bf8babd5c40fd816ef8a.tar.bz2
gsoc2013-epiphany-1730a037daf5c370cc61bf8babd5c40fd816ef8a.tar.lz
gsoc2013-epiphany-1730a037daf5c370cc61bf8babd5c40fd816ef8a.tar.xz
gsoc2013-epiphany-1730a037daf5c370cc61bf8babd5c40fd816ef8a.tar.zst
gsoc2013-epiphany-1730a037daf5c370cc61bf8babd5c40fd816ef8a.zip
Revert api change. So we keep 2.2 compatibility.
2003-05-13 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/ExternalProtocolService.cpp: Revert api change. So we keep 2.2 compatibility. * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (location_focus_out_cb), (ephy_location_entry_activate_cb): * lib/widgets/ephy-location-entry.h: Add a finished callback to know when the user finished using location. * src/bookmarks/ephy-bookmarks.c: (history_site_visited_cb), (ephy_bookmarks_set_icon): Remove unused vars. Bad xan. * src/toolbar.c: (location_finished_cb), (toolbar_activate_location): Show the toolbar on ctrl+l, hide it again when the user finished to edit (focus out/activate)
Diffstat (limited to 'embed')
-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 e5213c971..9d9a7368c 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 <libgnomevfs/gnome-vfs-utils.h>
+#include <libgnome/gnome-url.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_vfs_url_show(cSpec.get());
+ gnome_url_show(cSpec.get(), NULL);
g_free (result);
return NS_OK;
}
@@ -141,7 +141,7 @@ NS_IMETHODIMP GExternalProtocolService::LoadUrl(nsIURI *aURL)
if (ret == 0)
{
- gnome_vfs_url_show(cSpec.get());
+ gnome_url_show(cSpec.get(), NULL);
return NS_OK;
}
else