See: https://bugs.launchpad.net/midori/+bug/973646
midori_browser_prepare_download (browser, download, destination_uri);
g_signal_connect (download, "notify::status",
G_CALLBACK (midori_browser_download_status_cb), GTK_WIDGET (browser));
- webkit_download_start (download);
g_free (destination_uri);
}
else if (!webkit_download_get_destination_uri (download))
default:
g_warn_if_reached ();
}
-
- /* Apparently WebKit will continue loading which ends in an error.
- It's unclear whether it's a bug or we are doing something wrong. */
- webkit_web_view_stop_loading (WEBKIT_WEB_VIEW (view->web_view));
return TRUE;
}