Release history for lariza
next
+ [Fixed]
+ - Lariza no longer reports download progress below 0% or above 100%.
+ (Workaround for what appears to be a WebKit2GTK+ bug.)
+
[Changed]
- We no longer explicitly set the X11 window's class and name. Let
GTK+ do this job. The actual class and name should be unchanged,
const gchar *uri;
gchar *t, *filename, *base;
- p = webkit_download_get_estimated_progress(download) * 100;
+ p = webkit_download_get_estimated_progress(download);
+ p = p > 1 ? 1 : p;
+ p = p < 0 ? 0 : p;
+ p *= 100;
resp = webkit_download_get_response(download);
size_mb = webkit_uri_response_get_content_length(resp) / 1e6;