changeset 32446:aeaf9eebd5ec

If we handle a navigation request, then we should tell WebKit to ignore it.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 04 Jan 2012 02:49:34 +0000
parents 072e2329b659
children e066ed525ac8
files pidgin/gtkwebview.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkwebview.c	Wed Jan 04 02:48:04 2012 +0000
+++ b/pidgin/gtkwebview.c	Wed Jan 04 02:49:34 2012 +0000
@@ -213,6 +213,7 @@
 		/* the gtk imhtml way was to create an idle cb, not sure
 		 * why, so right now just using purple_notify_uri directly */
 		purple_notify_uri(NULL, uri);
+		webkit_web_policy_decision_ignore(policy_decision);
 	} else
 		webkit_web_policy_decision_use(policy_decision);