Mercurial > pidgin.yaz
changeset 32604: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 | def5b2a97fee |
children | e7b7e36790f8 |
files | pidgin/gtkwebview.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
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; }