pidgin: 10d7899a: Let webview manage the navigation ONLY i...
masca at cpw.pidgin.im
masca at cpw.pidgin.im
Thu Sep 8 23:31:08 EDT 2011
----------------------------------------------------------------------
Revision: 10d7899aac75e85039e557e2c4238e1b276a4353
Parent: c961bcf584968f59bf40a53c054956f94c878c76
Author: masca at cpw.pidgin.im
Date: 09/08/11 23:27:52
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/10d7899aac75e85039e557e2c4238e1b276a4353
Changelog:
Let webview manage the navigation ONLY if the reason is the user clicked a link.
Changes against parent c961bcf584968f59bf40a53c054956f94c878c76
patched pidgin/gtkwebview.c
-------------- next part --------------
============================================================
--- pidgin/gtkwebview.c f3d8acb3b8c89d627bd634f8aacd7c6f1605432c
+++ pidgin/gtkwebview.c ed16b0a86f045c7bd0ca2483f3b46367722e5957
@@ -196,10 +196,9 @@ webview_link_clicked(WebKitWebView *view
/* 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);
- }
+ } else
+ webkit_web_policy_decision_use(policy_decision);
- webkit_web_policy_decision_use(policy_decision);
-
return TRUE;
}
More information about the Commits
mailing list