pidgin: 3afac25c: We don't want WebKit to process a Refres...
qulogic at pidgin.im
qulogic at pidgin.im
Wed Jan 4 02:08:24 EST 2012
----------------------------------------------------------------------
Revision: 3afac25cbbb20ab81fe5ab388a8e529090591d60
Parent: fdfd87aa38b93b9e2ad6d5bd108ec4f8716dcd34
Author: qulogic at pidgin.im
Date: 01/04/12 01:30:51
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/3afac25cbbb20ab81fe5ab388a8e529090591d60
Changelog:
We don't want WebKit to process a Refresh, or Back/Forward
request either.
Changes against parent fdfd87aa38b93b9e2ad6d5bd108ec4f8716dcd34
patched pidgin/gtkwebview.c
-------------- next part --------------
============================================================
--- pidgin/gtkwebview.c 9c61ea2489c6cd284af9d19eeba57d44d403201c
+++ pidgin/gtkwebview.c 90960b5b8406d873b4325b9f309682436ce0a73b
@@ -214,8 +214,10 @@ webview_link_clicked(WebKitWebView *webv
* 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;
}
More information about the Commits
mailing list