From: Christian Dywan Date: Sat, 28 Feb 2009 21:33:37 +0000 (+0100) Subject: Report to the web view we didn't handle if the MIME type is fine X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f799af8c0c290f90ef7d51684f8ab11df4d91183;p=midori Report to the web view we didn't handle if the MIME type is fine This caused blank pages to erroneously look as thought they were loading infinitely. In fact it is due to a bug in WebKit that this ever worked at all. --- diff --git a/midori/midori-view.c b/midori/midori-view.c index 2b0a2023..3dfa9540 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -1160,7 +1160,7 @@ webkit_web_view_mime_type_decision_cb (GtkWidget* web_view, g_strrstr (mime_type, "script") || g_str_has_prefix (mime_type, "text/") || g_strrstr (mime_type, "xml")) #endif - return TRUE; + return FALSE; #if WEBKIT_CHECK_VERSION (1, 0, 0) uri = g_strdup_printf ("error:nodisplay %s",