epiphany-extensions r1671 - in trunk: . extensions/adblock



Author: xan
Date: Sun Feb 17 18:21:45 2008
New Revision: 1671
URL: http://svn.gnome.org/viewvc/epiphany-extensions?rev=1671&view=rev

Log:
Make adblock use new-document-now signal.

Also fix build by adding gconf and gnome-vfs dependency checks.

Part of #502283


Modified:
   trunk/configure.ac
   trunk/extensions/adblock/ephy-adblock-extension.c

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Sun Feb 17 18:21:45 2008
@@ -120,6 +120,8 @@
 		  glib-2.0 >= $LIBGLIB_REQUIRED \
 		  gmodule-2.0 \
 		  gtk+-2.0 >= $LIBGTK_REQUIRED \
+                  gconf-2.0 \
+                  gnome-vfs-2.0 \
 		  epiphany-$EPIPHANY_API_VERSION >= $EPIPHANY_REQUIRED])
 AC_SUBST([EPIPHANY_DEPENDENCY_CFLAGS])
 AC_SUBST([EPIPHANY_DEPENDENCY_LIBS])

Modified: trunk/extensions/adblock/ephy-adblock-extension.c
==============================================================================
--- trunk/extensions/adblock/ephy-adblock-extension.c	(original)
+++ trunk/extensions/adblock/ephy-adblock-extension.c	Sun Feb 17 18:21:45 2008
@@ -542,7 +542,7 @@
 		g_object_set_data_full (G_OBJECT (embed), AD_BLOCKER_KEY,
 					blocker, (GDestroyNotify) g_object_unref);
 
-		g_signal_connect (embed, "ge-location",
+		g_signal_connect (embed, "new-document-now",
 				  G_CALLBACK (location_changed_cb), blocker);
 
 		g_signal_connect (embed, "content-blocked",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]