# HG changeset patch # User masca@cpw.pidgin.im # Date 1315538872 0 # Node ID e7eba7a6a98927f4045efc716fa6062f9486c557 # Parent def5b2a97fee143acfc6099a2d3a1e8de947de1d Let webview manage the navigation ONLY if the reason is the user clicked a link. diff -r def5b2a97fee -r e7eba7a6a989 pidgin/gtkwebview.c --- a/pidgin/gtkwebview.c Fri Sep 09 01:58:59 2011 +0000 +++ b/pidgin/gtkwebview.c Fri Sep 09 03:27:52 2011 +0000 @@ -196,9 +196,8 @@ /* 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_use(policy_decision); + } else + webkit_web_policy_decision_use(policy_decision); return TRUE; }