Mercurial > pidgin
diff pidgin/gtkwebview.c @ 32449:692d5408983d
We don't want WebKit to process a Refresh, or Back/Forward
request either.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Wed, 04 Jan 2012 06:30:51 +0000 |
parents | aeaf9eebd5ec |
children | 0d50155445fd |
line wrap: on
line diff
--- a/pidgin/gtkwebview.c Wed Jan 04 03:37:59 2012 +0000 +++ b/pidgin/gtkwebview.c Wed Jan 04 06:30:51 2012 +0000 @@ -214,8 +214,10 @@ * why, so right now just using purple_notify_uri directly */ purple_notify_uri(NULL, uri); webkit_web_policy_decision_ignore(policy_decision); - } else + } else if (reason == WEBKIT_WEB_NAVIGATION_REASON_OTHER) webkit_web_policy_decision_use(policy_decision); + else + webkit_web_policy_decision_ignore(policy_decision); return TRUE; }