pidgin: 70db8f8e: If we handle a navigation request, then ...

qulogic at qulogic at
Wed Jan 4 02:08:40 EST 2012

Revision: 70db8f8eaf237a07041949913cb63d72afb708c2
Parent:   68079d4e2ff1a420fec998107ebca5c9ac7e82d2
Author:   qulogic at
Date:     01/03/12 21:49:34
Branch:   im.pidgin.pidgin


If we handle a navigation request, then we should tell WebKit
to ignore it.

Changes against parent 68079d4e2ff1a420fec998107ebca5c9ac7e82d2

  patched  pidgin/gtkwebview.c

-------------- next part --------------
--- pidgin/gtkwebview.c	0631ed86ae60e14962703ba6baa33205cad82163
+++ pidgin/gtkwebview.c	9c61ea2489c6cd284af9d19eeba57d44d403201c
@@ -213,6 +213,7 @@ webview_link_clicked(WebKitWebView *webv
 		/* 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

More information about the Commits mailing list