On Fri, 2010-05-28 at 19:01 +0000, Giovanni wrote:
> "//-------------funzione MIME--------------------//
> gboolean permessi (WebKitWebView *web_view, WebKitWebFrame *frame,
> WebKitNetworkRequest *request, gchar *mimetype, WebKitWebPolicyDecision
> *policy_decision)
> {
> if (webkit_web_view_can_show_mime_type (WEBKIT_WEB_VIEW (web_view),mimetype))
> return FALSE;
>
> webkit_web_policy_decision_download (policy_decision);
> webkit_web_view_stop_loading (WEBKIT_WEB_VIEW (web_view));
This looks wrong. You should not stop the load - the load will turn into
the download because of your policy decision. Having said that, it might
be a bug that your download callback is even reached, tbh, since you
stopped the load.
See you,
--
Gustavo Noronha Silva <[email protected]>
GNOME Project
_______________________________________________
webkit-gtk mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk