Mercurial > pidgin
diff pidgin/gtkwebview.c @ 32143:e7eba7a6a989
Let webview manage the navigation ONLY if the reason is the user clicked a link.
author | masca@cpw.pidgin.im |
---|---|
date | Fri, 09 Sep 2011 03:27:52 +0000 |
parents | 8e1ec44ede75 |
children | 68fe7b5211a7 |
line wrap: on
line diff
--- 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; }